Vim syntax highlighting for the OpenSCAD language
Vim script
Switch branches/tags
Nothing to show
Latest commit 2ac407d Jul 21, 2015 @sirtaj Merge pull request #4 from wrtlprnft/master
Add keywords for features that are new in 2015.3
Failed to load latest commit information.
ftdetect * Add OpenSCAD entry to syntax menu Apr 11, 2014
syntax Merge pull request #4 from wrtlprnft/master Jul 21, 2015


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