diff --git a/witcherscript/grammar.json b/witcherscript/grammar.json index eab428a..e6eccf5 100644 --- a/witcherscript/grammar.json +++ b/witcherscript/grammar.json @@ -110,7 +110,7 @@ "name": "storage.type.ws" } }, - "end": ":\\s*(array\\s*<\\s*\\w+\\s*>|\\w*)\\s*;", + "end": ":\\s*(array\\s*<\\s*\\w+\\s*>|\\w*)\\s*(\\s*=.+)?;", "endCaptures": { "1": { "patterns": [ @@ -233,4 +233,4 @@ ] } } -} \ No newline at end of file +}