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 b50dbbb commit cce70e7Copy full SHA for cce70e7
syntaxes/lua.tmLanguage.json
@@ -536,6 +536,25 @@
536
},
537
"end": "(?=\\n)"
538
539
+ {
540
+ "begin": "(?<=---)@version",
541
+ "beginCaptures": {
542
+ "0": {
543
+ "name": "storage.type.annotation.lua"
544
+ }
545
+ },
546
+ "end": "(?=\\n)",
547
+ "patterns": [
548
549
+ "match": "\\b(5\\.1|5\\.2|5\\.3|5\\.4|JIT)\\b",
550
+ "name": "support.class.lua"
551
552
553
+ "match": ",|\\>|\\<",
554
+ "name": "keyword.operator.lua"
555
556
+ ]
557
558
{
559
"begin": "(?<=---)\\|\\s*[\\>\\+]?",
560
"beginCaptures": {
0 commit comments