Wikia

Vim Tips Wiki

Script:3556

Talk0
1,612pages on
this wiki
Revision as of 21:02, December 2, 2012 by 64.234.244.105 (Talk)

Use this page to discuss script 3556 openscad: syntax highlighting for the OpenSCAD 3D modeling language

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Comments

To my copy, I added the 2d primitives:

syn keyword openscad2dPrimitive square circle polygon import_dxf
hi def link openscad2dPrimitive Keyword


Auto enable

To get it to work automajickally, I added this to my .vimrc after copying the script to .vim/syntax/


au BufNewFile,BufRead *.scad setf openscad

Around Wikia's network

Random Wiki