diff options
Diffstat (limited to 'runtime/queries/haskell')
-rw-r--r-- | runtime/queries/haskell/injections.scm | 8 |
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) |