diff options
| author | tami5 <65782666+tami5@users.noreply.github.com> | 2021-06-20 21:20:50 +0300 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-06-21 08:52:38 +0200 |
| commit | 89b1254cde93f7cc590ea9d0591f0317f8cbd106 (patch) | |
| tree | 93df81ae1b83f1cf1e847a42a8998dc41aa1b70a | |
| parent | feat: added `self` as builtin keyword for Lua (diff) | |
| download | nvim-treesitter-89b1254cde93f7cc590ea9d0591f0317f8cbd106.tar nvim-treesitter-89b1254cde93f7cc590ea9d0591f0317f8cbd106.tar.gz nvim-treesitter-89b1254cde93f7cc590ea9d0591f0317f8cbd106.tar.bz2 nvim-treesitter-89b1254cde93f7cc590ea9d0591f0317f8cbd106.tar.lz nvim-treesitter-89b1254cde93f7cc590ea9d0591f0317f8cbd106.tar.xz nvim-treesitter-89b1254cde93f7cc590ea9d0591f0317f8cbd106.tar.zst nvim-treesitter-89b1254cde93f7cc590ea9d0591f0317f8cbd106.zip | |
rust: inject html to html! macro
| -rw-r--r-- | queries/rust/injections.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/queries/rust/injections.scm b/queries/rust/injections.scm index b1e90e09a..bd88b7e37 100644 --- a/queries/rust/injections.scm +++ b/queries/rust/injections.scm @@ -10,3 +10,12 @@ (line_comment) (block_comment) ] @comment + +( + (macro_invocation + macro: ((identifier) @_html_def) + (token_tree) @html) + + (#eq? @_html_def "html") +) + |
