aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/haskell/injections.scm
blob: 5ee3478baca291e8f929f184b9987dc93a8b04d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
((comment) @injection.content
 (#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)