aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-01-19 16:37:13 -0800
committerPhạm Huy Hoàng <hoangtun0810@gmail.com>2024-01-20 12:54:01 +0900
commit1eb22367b97e277a7fbcf53f5de86167e1d2f523 (patch)
tree73b61a49bb336d6f4a9614932c19e20b01f75244
parentfix(python): add support for typed (kw)args (PEP 484) (#5875) (diff)
downloadnvim-treesitter-1eb22367b97e277a7fbcf53f5de86167e1d2f523.tar
nvim-treesitter-1eb22367b97e277a7fbcf53f5de86167e1d2f523.tar.gz
nvim-treesitter-1eb22367b97e277a7fbcf53f5de86167e1d2f523.tar.bz2
nvim-treesitter-1eb22367b97e277a7fbcf53f5de86167e1d2f523.tar.lz
nvim-treesitter-1eb22367b97e277a7fbcf53f5de86167e1d2f523.tar.xz
nvim-treesitter-1eb22367b97e277a7fbcf53f5de86167e1d2f523.tar.zst
nvim-treesitter-1eb22367b97e277a7fbcf53f5de86167e1d2f523.zip
feat(html): comment injections
-rw-r--r--queries/html_tags/injections.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/html_tags/injections.scm b/queries/html_tags/injections.scm
index 8cfcddf29..f16fc485a 100644
--- a/queries/html_tags/injections.scm
+++ b/queries/html_tags/injections.scm
@@ -1,3 +1,5 @@
+((comment) @injection.content
+ (#set! injection.language "comment"))
; <style>...</style>
; <style blocking> ...</style>
; Add "lang" to predicate check so that vue/svelte can inherit this