diff options
| author | veetaha <veetaha2@gmail.com> | 2020-04-22 02:00:58 +0300 |
|---|---|---|
| committer | veetaha <veetaha2@gmail.com> | 2020-04-22 02:00:58 +0300 |
| commit | 61a931425d0b16b45e73d6932d4b476cc00c1934 (patch) | |
| tree | d880dcfa07fbdc478eb0bb98cedecfed2d56fb48 /editors/code | |
| parent | ec645f2d75d2939a2f64959019dd916750f1ec00 (diff) | |
| download | rust-61a931425d0b16b45e73d6932d4b476cc00c1934.tar.gz rust-61a931425d0b16b45e73d6932d4b476cc00c1934.zip | |
Fix .rast tmGrammar to account for numbers in identifiers
Diffstat (limited to 'editors/code')
| -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 0d72a3e36d7..431d414f64e 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" |
