Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit f94b6ab

Browse files
committed
Adopt rust-analyzer's Rust TM grammar
1 parent bb3bd17 commit f94b6ab

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
### Unreleased
22

3+
* Update built-in Rust grammar
4+
35
### 0.7.8 - 2020-05-13
46

57
* Rebrand extension as RLS-agnostic

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@
8282
"configuration": "./language-configuration.json"
8383
}
8484
],
85+
"grammars": [
86+
{
87+
"language": "rust",
88+
"scopeName": "source.rust",
89+
"path": "rust.tmGrammar.json"
90+
}
91+
],
8592
"snippets": [
8693
{
8794
"language": "rust",

rust-analyzer/editors/code/package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -641,11 +641,6 @@
641641
}
642642
],
643643
"grammars": [
644-
{
645-
"language": "rust",
646-
"scopeName": "source.rust",
647-
"path": "rust.tmGrammar.json"
648-
},
649644
{
650645
"language": "ra_syntax_tree",
651646
"scopeName": "source.ra_syntax_tree",
File renamed without changes.

0 commit comments

Comments
 (0)