summaryrefslogtreecommitdiffstats
path: root/syntax/openscad.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/openscad.vim')
-rw-r--r--syntax/openscad.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/openscad.vim b/syntax/openscad.vim
index 40156d58..14e6b223 100644
--- a/syntax/openscad.vim
+++ b/syntax/openscad.vim
@@ -32,7 +32,7 @@ syn keyword openscadPrimitiveSolid cube sphere cylinder polyhedron surface
syn keyword openscadPrimitive2D square circle polygon import_dxf text
syn keyword openscadPrimitiveImport import child children
-syn match openscadSpecialVariable "\$[a-zA-Z]\+\>" display
+syn match openscadSpecialVariable "\$[a-zA-Z0-9_]\+\>" display
syn match openscadModifier "^\s*[\*\!\#\%]" display
syn match openscadNumbers "\<\d\|\.\d" contains=openscadNumber display transparent