sponsor Vim development Vim logo Vim Book Ad

openscad.vim : Simple syntax highlighting for the OpenSCAD language

 script karma  Rating 151/76, Downloaded by 3869  Comments, bugs, improvements  Vim wiki

created by
Sirtaj Singh Kang
 
script type
syntax
 
description
This is a quick hack at syntax highlighting for the OpenSCAD 3D modeling language -- http://www.openscad.org/

Note that at the moment it doesn't help detect errors such as mismatched blocks and parens.

TODOs include error management and quickfix/compiler support.

I would appreciate feedback and suggestions for improvement, please use the script wiki link above.

The plugin is hosted on github, see https://github.com/sirtaj/vim-openscad
 
install details
The zip file contains one file each in ftdetect/ and syntax/. Copy these dirs into your .vim (or vimfiles), or use a
vim bundle tool.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-openscad.zip 0.3 2013-03-05 6.0 Sirtaj Singh Kang Added ftdetect and poly2d functions, fixed a ref to TODO highlights.
openscad.vim 0.2 2011-04-19 6.0 Sirtaj Singh Kang Added some missing keywords, better compliance with vim syntax guidelines.
ip used for rating: 18.119.104.238

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github