Skip to content

Commit

Permalink
Fixed fgd param type breaking when there is whitespace after type. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanH-AT committed Dec 5, 2023
1 parent 8a47f55 commit 7fefe60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions samples/fgd/test.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
]

KeyvalueExample4(string) : "Keyvalue Display Name" : "Default" : "Description"
KeyvalueExample5( string ) : "Keyvalue Display Name" : "Default" : "Description"

input InputExample(void) : "Description"

Expand Down
2 changes: 1 addition & 1 deletion syntaxes/fgd.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
]
}
},
"end": "(\\w+)\\)",
"end": "(\\w+)\\s*\\)",
"endCaptures": {
"1": {
"patterns": [
Expand Down

0 comments on commit 7fefe60

Please sign in to comment.