From 3ac7babbba68d64b8d54154b36d70a305955170b Mon Sep 17 00:00:00 2001 From: jp Date: Thu, 18 Mar 2021 12:35:46 +0000 Subject: add else as keyword --- editors/vscode/sail/syntaxes/sail.tmLanguage.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors') diff --git a/editors/vscode/sail/syntaxes/sail.tmLanguage.json b/editors/vscode/sail/syntaxes/sail.tmLanguage.json index 7de25579..e2c726e5 100644 --- a/editors/vscode/sail/syntaxes/sail.tmLanguage.json +++ b/editors/vscode/sail/syntaxes/sail.tmLanguage.json @@ -19,7 +19,7 @@ "keywords": { "patterns": [{ "name": "keyword.control.sail", - "match": "\\b(if|then|while|for|return|match)\\b" + "match": "\\b(if|then|while|for|return|match|else)\\b" },{ "name": "keyword.other.sail", "match": "\\b(type|val|let|in|function|scattered|enum|union|clause|default|order|dec|register|vector)\\b" @@ -160,4 +160,4 @@ } }, "scopeName": "source.sail" -} \ No newline at end of file +} -- cgit v1.2.3