diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-22 10:10:13 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-22 10:10:13 +0100 |
commit | 3d7451e6e74dc6dbb2501954727f9c00ec068f5e (patch) | |
tree | a6f63d7030d2684ee68ae461be2f30c574413ecc | |
parent | 546f9ee7a7eb1d208fe279ec469b5981d47934fc (diff) | |
parent | 61a931425d0b16b45e73d6932d4b476cc00c1934 (diff) |
Merge #4080
4080: Fix .rast tmGrammar to account for numbers in identifiers r=matklad a=Veetaha
Co-authored-by: veetaha <[email protected]>
-rw-r--r-- | editors/code/ra_syntax_tree.tmGrammar.json | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
9 | ], | 9 | ], |
10 | "repository": { | 10 | "repository": { |
11 | "node_type": { | 11 | "node_type": { |
12 | "match": "^\\s*([A-Z_]+?)@", | 12 | "match": "^\\s*([A-Z_][A-Z_0-9]*?)@", |
13 | "captures": { | 13 | "captures": { |
14 | "1": { | 14 | "1": { |
15 | "name": "entity.name.class" | 15 | "name": "entity.name.class" |