summaryrefslogtreecommitdiff
path: root/runtime/queries/prql/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/prql/injections.scm')
-rw-r--r--runtime/queries/prql/injections.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/queries/prql/injections.scm b/runtime/queries/prql/injections.scm
new file mode 100644
index 00000000..02a8919f
--- /dev/null
+++ b/runtime/queries/prql/injections.scm
@@ -0,0 +1,8 @@
+((s_string) @injection.content
+ (#set! injection.language "sql"))
+
+(from_text
+ (keyword_from_text)
+ (keyword_json)
+ (literal) @injection.content
+ (#set! injection.language "json"))