aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBartłomiej Maryńczak <marynczak.bartlomiej@gmail.com>2026-01-24 22:21:27 +0100
committerGitHub <noreply@github.com>2026-01-24 22:21:27 +0100
commit81aca2f9815e26f638f697df1d828ca290847b64 (patch)
tree143b910c28eff11eb0aa5f07e3ff4d8722c8841b /runtime
parentfix(glimmer) update injections (diff)
downloadnvim-treesitter-81aca2f9815e26f638f697df1d828ca290847b64.tar
nvim-treesitter-81aca2f9815e26f638f697df1d828ca290847b64.tar.gz
nvim-treesitter-81aca2f9815e26f638f697df1d828ca290847b64.tar.bz2
nvim-treesitter-81aca2f9815e26f638f697df1d828ca290847b64.tar.lz
nvim-treesitter-81aca2f9815e26f638f697df1d828ca290847b64.tar.xz
nvim-treesitter-81aca2f9815e26f638f697df1d828ca290847b64.tar.zst
nvim-treesitter-81aca2f9815e26f638f697df1d828ca290847b64.zip
feat(rust): add !xml injection
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/rust/injections.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/rust/injections.scm b/runtime/queries/rust/injections.scm
index 7bffd1fc9..b7d5b4bb6 100644
--- a/runtime/queries/rust/injections.scm
+++ b/runtime/queries/rust/injections.scm
@@ -5,7 +5,7 @@
(identifier) @_macro_name
]
(token_tree) @injection.content
- (#not-any-of? @_macro_name "slint" "html" "json")
+ (#not-any-of? @_macro_name "slint" "html" "json" "xml")
(#set! injection.language "rust")
(#set! injection.include-children))
@@ -16,7 +16,7 @@
(identifier) @injection.language
]
(token_tree) @injection.content
- (#any-of? @injection.language "slint" "html" "json")
+ (#any-of? @injection.language "slint" "html" "json" "xml")
(#offset! @injection.content 0 1 0 -1)
(#set! injection.include-children))