We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecbcbe0 commit e284875Copy full SHA for e284875
syntaxes/lua.tmLanguage.json
@@ -635,7 +635,7 @@
635
]
636
},
637
{
638
- "begin": "(?<=---\\s*)@diagnostic(?:)?",
+ "begin": "(?<=---\\s*)@diagnostic",
639
"beginCaptures": {
640
"0": {
641
"name": "storage.type.annotation.lua"
@@ -644,10 +644,13 @@
644
"end": "(?=\\n)",
645
"patterns": [
646
647
- "begin": "\\s+[a-zA-Z_\\-0-9]+",
+ "begin": "\\s+([a-zA-Z_\\-0-9]+)\\s*(:)?",
648
649
- "0": {
+ "1": {
650
"name": "keyword.other.unit"
651
+ },
652
+ "2": {
653
+ "name": "keyword.operator.unit"
654
}
655
656
0 commit comments