Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (22 sloc) 948 Bytes


This is a quick hack at Vim syntax highlighting for the OpenSCAD 3D modeling language --

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.

This script has been published for some time on at:


You can simply copy the ftdetect and syntax dirs to your .vim or vimfiles directory. The layout should also be fine for auto install if you use pathogen, vundle or some similar vim plugin system.

The ftdetect file associates all .scad files with this plugin.


Public domain. I request that you inform me if you fork this and/or redistribute modified versions, but you're under no legal obligation to do so.


Sirtaj Singh Kang