Skip to content

Commit 3aed609

Browse files
committed
Not highlighting always and default as labels
1 parent 96ccdc0 commit 3aed609

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syntaxes/usecode.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
}
271271
},
272272
{
273-
"match": "(?:^|[\\{\\}\\;]|:)\\s*([A-Za-z_][A-Za-z0-9_]*)\\s*(:)(?!:)",
273+
"match": "(?:^|[\\{\\}\\;]|:)\\s*((?!(?:always|default)\\b)[A-Za-z_][A-Za-z0-9_]*)\\s*(:)(?!:)",
274274
"captures": {
275275
"1": { "name": "entity.name.label.usecode" },
276276
"2": { "name": "keyword.operator.usecode" }

0 commit comments

Comments
 (0)