mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
languages: Add comment injections for Rust (#39714)
This PR adds comment injections for Rust. Release Notes: - Rust: Added comment injections.
This commit is contained in:
parent
b8a6180b82
commit
e60a61f7e7
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
((line_comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
(macro_invocation
|
||||
macro: (identifier) @_macro_name
|
||||
(#not-any-of? @_macro_name "view" "html")
|
||||
|
|
|
|||
Loading…
Reference in a new issue