diff options
author | Michael Davis | 2022-08-17 21:20:44 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-08-31 08:46:34 +0000 |
commit | 03f0ef93ac6da58963b32034fd4681e428867d2a (patch) | |
tree | 22231ef0e7ebf3fa135de84b31184fd4ebd099d7 | |
parent | ac669ade0587e717c071386f665d05f61d646a61 (diff) |
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.
-rw-r--r-- | languages.toml | 2 | ||||
-rw-r--r-- | runtime/queries/rust/highlights.scm | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml index 264f0a42..05608b81 100644 --- a/languages.toml +++ b/languages.toml @@ -50,7 +50,7 @@ args = { attachCommands = [ "platform select remote-gdb-server", "platform conne [[grammar]] name = "rust" -source = { git = "https://github.com/tree-sitter/tree-sitter-rust", rev = "a360da0a29a19c281d08295a35ecd0544d2da211" } +source = { git = "https://github.com/tree-sitter/tree-sitter-rust", rev = "41e23b454f503e6fe63ec4b6d9f7f2cf7788ab8e" } [[language]] name = "toml" diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm index 5de92a60..39a764a6 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -67,6 +67,7 @@ "]" "{" "}" + "#" ] @punctuation.bracket (type_arguments [ |