aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/haskell/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/haskell/injections.scm')
-rw-r--r--runtime/queries/haskell/injections.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/queries/haskell/injections.scm b/runtime/queries/haskell/injections.scm
index 788b8b8c..5ee3478b 100644
--- a/runtime/queries/haskell/injections.scm
+++ b/runtime/queries/haskell/injections.scm
@@ -2,5 +2,13 @@
(#set! injection.language "comment"))
(quasiquote
+ (quoter) @_quoter
+ ((quasiquote_body) @injection.content
+ (#match? @_quoter "(persistWith|persistLowerCase|persistUpperCase)")
+ (#set! injection.language "haskell-persistent")
+ )
+)
+
+(quasiquote
(quoter) @injection.language
(quasiquote_body) @injection.content)