Skip to content

Commit 33d4ae8

Browse files
committed
Added nested variable highlighting (Issue #3)
Signed-off-by: Mike Centola <[email protected]>
1 parent b6e4220 commit 33d4ae8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

syntaxes/gcode.tmLanguage.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@
170170
{
171171
"match": "[#][0-9]+",
172172
"name": "variable.other.gcode"
173+
},
174+
{
175+
"match": "[#][\\[].+[\\]]",
176+
"name": "variable.other.gcode"
173177
}
174178
]
175179
}

0 commit comments

Comments
 (0)