Skip to content

Commit

Permalink
Add highlighting support for 'tag' in '.ice' files.
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertCreativityHere committed Feb 21, 2024
1 parent ea7aebb commit a4aacfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntaxes/ice.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@
]
},
{
"match": "(?<!\\\\)\\b(?:(local)|(const)|(idempotent)|(out)|(optional\\([-a-zA-Z0-9_:]*\\)))(?:\\b|(?<=\\)))",
"match": "(?<!\\\\)\\b(?:(local)|(const)|(idempotent)|(out)|((?:optional|tag)\\([-a-zA-Z0-9_:]*\\)))(?:\\b|(?<=\\)))",
"captures": {
"1": {"name": "storage.modifier.local.ice"},
"2": {"name": "storage.modifier.const.ice"},
Expand All @@ -1542,7 +1542,7 @@
"5": {
"patterns": [
{
"match": "(optional)(\\()([-a-zA-Z0-9_:]*)(\\))",
"match": "((?:optional|tag))(\\()([-a-zA-Z0-9_:]*)(\\))",
"captures": {
"1": {"name": "storage.modifier.optional.ice"},
"2": {"name": "punctuation.section.group.optional.begin.ice"},
Expand Down

0 comments on commit a4aacfa

Please sign in to comment.