summaryrefslogtreecommitdiff
path: root/runtime/queries/prql/injections.scm
diff options
context:
space:
mode:
authorMatthias Q2023-03-03 19:12:37 +0000
committerGitHub2023-03-03 19:12:37 +0000
commit2bd8bc8d8484a4a8852280f16888a819acbfde7a (patch)
tree632193e620db6000f08e42b1ee5f978b0e830eea /runtime/queries/prql/injections.scm
parent5c716af7a2c2fff36080d51be3cb9fa30aa36bc7 (diff)
feat(prql): add prql support (#6126)
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"))