From 8c4bc7b1f1d89f549283b018ef88ab30954c4b79 Mon Sep 17 00:00:00 2001 From: Oscar Spencer Date: Mon, 1 Aug 2022 10:54:25 -0400 Subject: [PATCH] fix: Properly highlight `isnt` (#137) --- editor-extensions/vscode/syntaxes/grain.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor-extensions/vscode/syntaxes/grain.json b/editor-extensions/vscode/syntaxes/grain.json index 59aac1e..08a3856 100644 --- a/editor-extensions/vscode/syntaxes/grain.json +++ b/editor-extensions/vscode/syntaxes/grain.json @@ -625,7 +625,7 @@ "identifier": { "patterns": [ { - "match": "(\\bis\\b|=|(\\+|-|\\*|\\/)=|\\+|-|\\*|\\/|%|<=|>=|<|>|==|!=|:=|\\!|&&|&|\\|\\||\\||\\^|\\.\\.\\.|\\.)", + "match": "(\\bis(nt)?\\b|=|(\\+|-|\\*|\\/)=|\\+|-|\\*|\\/|%|<=|>=|<|>|==|!=|:=|\\!|&&|&|\\|\\||\\||\\^|\\.\\.\\.|\\.)", "captures": { "1": { "name": "keyword.operator.grain" } }