diff --git a/languages.toml b/languages.toml index 264f0a422..05608b813 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 5de92a607..39a764a6f 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -67,6 +67,7 @@ "]" "{" "}" + "#" ] @punctuation.bracket (type_arguments [