From 61a931425d0b16b45e73d6932d4b476cc00c1934 Mon Sep 17 00:00:00 2001 From: veetaha Date: Wed, 22 Apr 2020 02:00:58 +0300 Subject: Fix .rast tmGrammar to account for numbers in identifiers --- editors/code/ra_syntax_tree.tmGrammar.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code') diff --git a/editors/code/ra_syntax_tree.tmGrammar.json b/editors/code/ra_syntax_tree.tmGrammar.json index 0d72a3e36..431d414f6 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" -- cgit v1.2.3