aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/astro/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/astro/injections.scm')
-rw-r--r--runtime/queries/astro/injections.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/astro/injections.scm b/runtime/queries/astro/injections.scm
new file mode 100644
index 00000000..e3cff178
--- /dev/null
+++ b/runtime/queries/astro/injections.scm
@@ -0,0 +1,9 @@
+; inherits: html
+
+((frontmatter
+ (raw_text) @injection.content)
+ (#set! injection.language "typescript"))
+
+((interpolation
+ (raw_text) @injection.content)
+ (#set! injection.language "tsx"))