From 79b4a8ac5cd348e4f8f495dd90bb5c1002dee15b Mon Sep 17 00:00:00 2001 From: Austin Henriksen Date: Tue, 13 Aug 2024 11:46:42 -0400 Subject: [PATCH] Added highlighting for metadata on enumerators. --- syntaxes/ice.tmLanguage.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/syntaxes/ice.tmLanguage.json b/syntaxes/ice.tmLanguage.json index 2ef432f..dd13944 100644 --- a/syntaxes/ice.tmLanguage.json +++ b/syntaxes/ice.tmLanguage.json @@ -610,6 +610,14 @@ }, "patterns": [ {"include": "#standard"}, + { + "begin": "(?=\\[)", + "end": "(?<=])", + "patterns": [ + {"include": "#standard"}, + {"include": "#metadata.local"} + ] + }, { "begin": "\\\\?\\b\\w+\\b", "end": "(?=})|(,)",