Skip to content

Commit 415379c

Browse files
committed
Fixed issue with H/T/D with period
1 parent ce40680 commit 415379c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

syntaxes/gcode.tmLanguage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,15 @@
157157
"tools": {
158158
"patterns": [
159159
{
160-
"match": "([dD])(\\d+|(?=[#\\[]))",
160+
"match": "([dD])\\s?(\\d+\\.?\\d*|(?=[#\\[]))",
161161
"name": "constant.character.gcode"
162162
},
163163
{
164-
"match": "([hH])(\\d+|(?=[#\\[]))",
164+
"match": "([hH])\\s?(\\d+\\.?\\d*|(?=[#\\[]))",
165165
"name": "constant.character.gcode"
166166
},
167167
{
168-
"match": "([tT])(\\d+|(?=[#\\[]))",
168+
"match": "([tT])\\s?(\\d+\\.?\\d*|(?=[#\\[]))",
169169
"name": "constant.character.gcode"
170170
}
171171
]

0 commit comments

Comments
 (0)