Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
rust: Highlight functions called with a turbofish
Max Brunsfeld2d393583230c
diff --git a/crates/zed/src/languages/rust/highlights.scm b/crates/zed/src/languages/rust/highlights.scmindex b52a7a8affd..7240173a892 100644--- a/crates/zed/src/languages/rust/highlights.scm+++ b/crates/zed/src/languages/rust/highlights.scm@@ -12,6 +12,15 @@field: (field_identifier) @function.method)])+(generic_function+ function: [+ (identifier) @function+ (scoped_identifier+ name: (identifier) @function)+ (field_expression+ field: (field_identifier) @function.method)+ ])+(function_item name: (identifier) @function.definition)(function_signature_item name: (identifier) @function.definition)