aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/templ/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/templ/injections.scm')
-rw-r--r--runtime/queries/templ/injections.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/templ/injections.scm b/runtime/queries/templ/injections.scm
new file mode 100644
index 00000000..4dd5a630
--- /dev/null
+++ b/runtime/queries/templ/injections.scm
@@ -0,0 +1,4 @@
+((script_block_text) @injection.content (#set! injection.language "javascript"))
+((script_element_text) @injection.content (#set! injection.language "javascript"))
+
+((style_element_text) @injection.content (#set! injection.language "css"))