diff --git a/editors/vscode/syntaxes/odin.tmLanguage.json b/editors/vscode/syntaxes/odin.tmLanguage.json index debe16cc..681d668f 100644 --- a/editors/vscode/syntaxes/odin.tmLanguage.json +++ b/editors/vscode/syntaxes/odin.tmLanguage.json @@ -162,7 +162,7 @@ "name": "meta.definition.variable.odin", "match": "([A-Za-z_]\\w*)\\s*(:\\s*:)", "captures": { - "1": { "name": "variable.other.constant.odin" }, + "1": { "name": "constant.language.odin" }, "2": { "name": "keyword.operator.assignment.odin" } } }, @@ -481,7 +481,7 @@ "match": "\\b(context)\\b" }, { - "name": "variable.other.constant.odin", + "name": "constant.other.odin", "match": "\\b(ODIN_ARCH|ODIN_OS)\\b" }, { @@ -492,6 +492,10 @@ "name": "constant.language.odin", "match": "---" }, + { + "name": "constant.other.odin", + "match": "\\b([A-Z_0-9])+\\b" + }, { "name": "constant.numeric.odin", "match": "\\b(\\d(\\d|_)*(\\.\\d(\\d|_)*)?)((e|E)(\\+|-)?\\d+)?[ijk]?\\b"