diff --git a/editor-extensions/vscode/syntaxes/grain.json b/editor-extensions/vscode/syntaxes/grain.json index a30997a..69242a0 100644 --- a/editor-extensions/vscode/syntaxes/grain.json +++ b/editor-extensions/vscode/syntaxes/grain.json @@ -1084,6 +1084,12 @@ "1": { "name": "punctuation.definition.parameters.grain" } }, "patterns": [ + { + "match": "(\\||\\bas\\b)", + "captures": { + "1": { "name": "keyword.operator.grain" } + } + }, { "match": "\\b([a-z]\\w*)\\b", "captures": { @@ -1109,6 +1115,12 @@ } ] }, + { + "match": "(\\||\\bas\\b)", + "captures": { + "1": { "name": "keyword.operator.grain" } + } + }, { "match": "\\b([a-z]\\w*)\\b", "captures": {