We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5221762 commit efd3b74Copy full SHA for efd3b74
syntaxes/fgd.tmLanguage.json
@@ -82,7 +82,7 @@
82
"end": "\\]",
83
"patterns": [
84
{
85
- "match": "(?i)(input|output)(?-i)",
+ "match": "\\b(?i)(input|output)(?-i)\\b",
86
"name": "storage.modifier"
87
},
88
@@ -98,9 +98,14 @@
98
]
99
100
"keyvalueName": {
101
- "begin": "(\\w+)\\(",
+ "begin": "(\\w+)(\\[.+\\])?\\(",
102
"beginCaptures": {
103
- "1": { "name": "entity.name.function.fgd" }
+ "1": { "name": "entity.name.function.fgd" },
104
+ "2": {
105
+ "patterns": [
106
+ { "include": "#preprocessorTag" }
107
+ ]
108
+ }
109
110
"end": "(\\w+)\\)",
111
"endCaptures": {
0 commit comments