Skip to content

Commit 03f0ef9

Browse files
the-mikedavisarchseer
authored andcommitted
Update tree-sitter-rust to latest
There don't appear to be any regressions from the updates. Also included is a fix which highlights the "#" as in attributes as punctuation. This was previously unhighlighted.
1 parent ac669ad commit 03f0ef9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

languages.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ args = { attachCommands = [ "platform select remote-gdb-server", "platform conne
5050

5151
[[grammar]]
5252
name = "rust"
53-
source = { git = "https://github.com/tree-sitter/tree-sitter-rust", rev = "a360da0a29a19c281d08295a35ecd0544d2da211" }
53+
source = { git = "https://github.com/tree-sitter/tree-sitter-rust", rev = "41e23b454f503e6fe63ec4b6d9f7f2cf7788ab8e" }
5454

5555
[[language]]
5656
name = "toml"

runtime/queries/rust/highlights.scm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"]"
6868
"{"
6969
"}"
70+
"#"
7071
] @punctuation.bracket
7172
(type_arguments
7273
[

0 commit comments

Comments
 (0)