diff --git a/samples/fgd/test.fgd b/samples/fgd/test.fgd index 426ce86..99cc7ca 100644 --- a/samples/fgd/test.fgd +++ b/samples/fgd/test.fgd @@ -19,6 +19,7 @@ ] KeyvalueExample4(string) : "Keyvalue Display Name" : "Default" : "Description" + KeyvalueExample5( string ) : "Keyvalue Display Name" : "Default" : "Description" input InputExample(void) : "Description" diff --git a/syntaxes/fgd.tmLanguage.json b/syntaxes/fgd.tmLanguage.json index c67957e..8fe1a3b 100644 --- a/syntaxes/fgd.tmLanguage.json +++ b/syntaxes/fgd.tmLanguage.json @@ -107,7 +107,7 @@ ] } }, - "end": "(\\w+)\\)", + "end": "(\\w+)\\s*\\)", "endCaptures": { "1": { "patterns": [