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 c89e235 commit 963553cCopy full SHA for 963553c
syntaxes/lua.tmLanguage.json
@@ -505,19 +505,26 @@
505
"end": "(?=\\n)",
506
"patterns": [
507
{
508
- "begin": "(\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b|\\[\\s*[0-9]*\\s*\\])(\\??)",
+ "begin": "(\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b|(\\[))(\\??)",
509
"beginCaptures": {
510
- "1": {
+ "2": {
511
"name": "entity.name.variable.lua"
512
},
513
- "2": {
+ "3": {
514
"name": "keyword.operator.lua"
515
}
516
517
518
519
+ {
520
+ "include": "#string"
521
+ },
522
523
"include": "#luadoc.type"
524
525
526
+ "match": "\\]",
527
+ "name": "keyword.operator.lua"
528
529
]
530
@@ -711,6 +718,9 @@
711
718
712
719
713
720
721
722
723
714
724
715
725
716
726
0 commit comments