Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Revert "Improve Rust highlight queries (#16747)" (#17073)
Kirill Bulatov895b4148a5ee
diff --git a/crates/languages/src/rust/highlights.scm b/crates/languages/src/rust/highlights.scmindex 0c3aa7efc7a..44fd61d871b 100644--- a/crates/languages/src/rust/highlights.scm+++ b/crates/languages/src/rust/highlights.scm@@ -184,8 +184,3 @@] @operator(lifetime) @lifetime--(parameter (identifier) @variable.parameter)--(attribute_item) @attribute-(inner_attribute_item) @attributediff --git a/crates/languages/src/rust/injections.scm b/crates/languages/src/rust/injections.scmindex 39042e92c6a..0ce91f22877 100644--- a/crates/languages/src/rust/injections.scm+++ b/crates/languages/src/rust/injections.scm@@ -5,11 +5,3 @@(macro_rule(token_tree) @content(#set! "language" "rust"))--(block_comment- (doc_comment) @content- (#set! "language" "markdown"))--(line_comment- (doc_comment) @content- (#set! "language" "markdown"))