Skip to content

Commit 96f6699

Browse files
committed
Fixed: Redesigned InGameUI, recognizes blocks with a single statement
Removed: Depricated blocks
1 parent 3b6a4f2 commit 96f6699

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

syntaxes/ini.tmLanguage.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,40 @@
346346
"name": "keyword.control.ini"
347347
}
348348
},
349+
"patterns": [
350+
{
351+
"include": "#Inline-Comment"
352+
},
353+
{
354+
"include": "#Cursor-InGameUI-Class"
355+
},
356+
{
357+
"include": "#General-Assignment"
358+
},
359+
{
360+
"include": "#Invalid-Assignment"
361+
}
362+
]
363+
},
364+
"Cursor-InGameUI-Class": {
365+
"begin": "(^[ \\t]+)?(\\w+(?![^=\\n]*=))",
366+
"beginCaptures": {
367+
"1": {
368+
"name": "punctuation.whitespace.ini"
369+
},
370+
"2": {
371+
"name": "keyword.control.ini"
372+
}
373+
},
374+
"end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b",
375+
"endCaptures": {
376+
"1": {
377+
"name": "punctuation.whitespace.ini"
378+
},
379+
"2": {
380+
"name": "keyword.control.ini"
381+
}
382+
},
349383
"patterns": [
350384
{
351385
"include": "#Inline-Comment"
@@ -3048,7 +3082,7 @@
30483082
"name": "constant.numeric.ini"
30493083
},
30503084
{
3051-
"match": "([xXYyZzRrGgBb]:)(-?\\d+(\\.\\d+)?)",
3085+
"match": "([xXYyZzRrGgBbAa]:)(-?\\d+(\\.\\d+)?)",
30523086
"captures": {
30533087
"1": {
30543088
"name": "string.unquoted.ini"

0 commit comments

Comments
 (0)