From 4c67fc9e292d6dc192a2dee2bdb0f323aeabbacc Mon Sep 17 00:00:00 2001 From: Holger Dal Mogensen <61235930+sockmaster27@users.noreply.github.com> Date: Fri, 28 Jun 2024 08:58:10 +0200 Subject: [PATCH] feat: add new keywords (#423) --- syntaxes/flix.tmLanguage.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/syntaxes/flix.tmLanguage.json b/syntaxes/flix.tmLanguage.json index ee002777..9f4e46dc 100644 --- a/syntaxes/flix.tmLanguage.json +++ b/syntaxes/flix.tmLanguage.json @@ -107,6 +107,10 @@ "name": "keyword.control.par.flix", "match": "\\b(par)\\b" }, + { + "name": "keyword.control.unsafe.flix", + "match": "\\b(unsafe)\\b" + }, { "name": "keyword.control.ast.flix", "match": "\\b(branch|jumpto)\\b" @@ -119,9 +123,13 @@ "name": "keyword.operator.fix.flix", "match": "\\bfix\\b" }, + { + "name": "keyword.operator.new.flix", + "match": "\\b(new)\\b" + }, { "name": "keyword.declaration.flix", - "match": "\\b(eff|def|law|enum|case|type|alias|trait|instance|with|without|opaque|mod)\\b" + "match": "\\b(eff|def|law|enum|case|type|alias|trait|instance|with|without|opaque|mod|struct)\\b" }, { "name": "keyword.expression.cast.flix",