summaryrefslogtreecommitdiff
path: root/runtime/queries/html/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/html/injections.scm')
-rw-r--r--runtime/queries/html/injections.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/queries/html/injections.scm b/runtime/queries/html/injections.scm
new file mode 100644
index 00000000..71e7c3ae
--- /dev/null
+++ b/runtime/queries/html/injections.scm
@@ -0,0 +1,7 @@
+((script_element
+ (raw_text) @injection.content)
+ (#set! injection.language "javascript"))
+
+((style_element
+ (raw_text) @injection.content)
+ (#set! injection.language "css"))