Skip to content

Commit

Permalink
Fix comments not working in fgd arrays. Fixes #108
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanH-AT committed Dec 5, 2023
1 parent 714a172 commit 8a47f55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/fgd/test.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ wirebox(0,10)
[
1 : "Flag" : 0
2 : "Flag 2" : 0 [TF2]
//3 : "Flag 3" : 0
]
KeyvalueExample4(string) : "Keyvalue Display Name" : "Default" : "Description"

Expand Down
1 change: 1 addition & 0 deletions syntaxes/fgd.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
"begin": "\\[",
"end": "\\]",
"patterns": [
{ "include": "source.kv#comment" },
{ "include": "source.kv#number" },
{ "include": "source.kv#stringQuoted" },
{ "include": "#preprocessorTag" }
Expand Down

0 comments on commit 8a47f55

Please sign in to comment.