diff --git a/editors/code/ra_syntax_tree.tmGrammar.json b/editors/code/ra_syntax_tree.tmGrammar.json index 0d72a3e36d..431d414f64 100644 --- a/editors/code/ra_syntax_tree.tmGrammar.json +++ b/editors/code/ra_syntax_tree.tmGrammar.json @@ -9,7 +9,7 @@ ], "repository": { "node_type": { - "match": "^\\s*([A-Z_]+?)@", + "match": "^\\s*([A-Z_][A-Z_0-9]*?)@", "captures": { "1": { "name": "entity.name.class"