mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(rust): Follow upstream injections
tree-sitter-rust and helix both have `injection.include-children` for the pattern in this PR. So it's best to changed to match the intended results
This commit is contained in:
parent
177a775fd8
commit
41128a7724
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
(macro_invocation
|
||||
(token_tree) @injection.content
|
||||
(#set! injection.language "rust"))
|
||||
(#set! injection.language "rust")
|
||||
(#set! injection.include-children))
|
||||
|
||||
(macro_definition
|
||||
(macro_rule
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue