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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user