Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Vim syntax highlighting for the OpenSCAD language
branch: master


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

Something went wrong with that request. Please try again.