From 5799664aadf30e1dccfdebc859aa91bfe646d138 Mon Sep 17 00:00:00 2001 From: Jake Fecher Date: Wed, 26 Jun 2024 14:27:05 -0500 Subject: [PATCH] Update syntax --- syntaxes/noir.tmLanguage.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syntaxes/noir.tmLanguage.json b/syntaxes/noir.tmLanguage.json index 52b6569..c32a692 100644 --- a/syntaxes/noir.tmLanguage.json +++ b/syntaxes/noir.tmLanguage.json @@ -229,11 +229,11 @@ "patterns": [ { "name": "keyword.control.nr", - "match": "\\b(fn|impl|trait|type|mod|use|struct|if|else|for|constrain)\\b" + "match": "\\b(fn|impl|trait|type|mod|use|struct|if|else|for)\\b" }, { "name": "keyword.nr", - "match": "\\b(global|comptime|unconstrained|unchecked|distinct|pub|call_data|return_data|&mut|mut|self|in|as|let)\\b" + "match": "\\b(global|comptime|quote|unsafe|unconstrained|distinct|pub|&mut|mut|self|in|as|let)\\b" } ] }, @@ -241,7 +241,7 @@ "patterns": [ { "name": "support.type.nr", - "match": "\\b((u|i)\\d+|str|bool|Field)\\b" + "match": "\\b((u|i)\\d+|str|bool|field|Field)\\b" }, { "name": "support.type.nr",