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.
---@diagnostic
1 parent 0a857af commit ecbcbe0Copy full SHA for ecbcbe0
syntaxes/lua.tmLanguage.json
@@ -634,6 +634,36 @@
634
}
635
]
636
},
637
+ {
638
+ "begin": "(?<=---\\s*)@diagnostic(?:)?",
639
+ "beginCaptures": {
640
+ "0": {
641
+ "name": "storage.type.annotation.lua"
642
+ }
643
+ },
644
+ "end": "(?=\\n)",
645
+ "patterns": [
646
647
+ "begin": "\\s+[a-zA-Z_\\-0-9]+",
648
649
650
+ "name": "keyword.other.unit"
651
652
653
654
655
656
+ "match": "\\b([a-zA-Z_\\*][a-zA-Z0-9_\\-]*)",
657
+ "name": "support.class.lua"
658
659
660
+ "match": ",",
661
+ "name": "keyword.operator.lua"
662
663
+ ]
664
665
666
667
{
668
"begin": "(?<=---)\\|\\s*[\\>\\+]?",
669
"beginCaptures": {
0 commit comments