summaryrefslogtreecommitdiff
path: root/runtime/queries/html
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/html')
-rw-r--r--runtime/queries/html/injections.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/queries/html/injections.scm b/runtime/queries/html/injections.scm
index 71e7c3ae..ef58f415 100644
--- a/runtime/queries/html/injections.scm
+++ b/runtime/queries/html/injections.scm
@@ -1,3 +1,6 @@
+((comment) @injection.content
+ (#set! injection.language "comment"))
+
((script_element
(raw_text) @injection.content)
(#set! injection.language "javascript"))