mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
rust: inject html to html! macro
This commit is contained in:
parent
d1f6a2a3d8
commit
89b1254cde
1 changed files with 9 additions and 0 deletions
|
|
@ -10,3 +10,12 @@
|
|||
(line_comment)
|
||||
(block_comment)
|
||||
] @comment
|
||||
|
||||
(
|
||||
(macro_invocation
|
||||
macro: ((identifier) @_html_def)
|
||||
(token_tree) @html)
|
||||
|
||||
(#eq? @_html_def "html")
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue