tree-sitter(haskell): use quasiquoters as an injection point (#6474)

Similar to tagged templates in JS, quasiquoters allow to embed external
languages in haskell, so it makes sense to treat them as an injection
point.
pull/16/head
Clément Delafargue 1 year ago committed by GitHub
parent deab323c28
commit 3e2eca0db8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,2 +1,6 @@
((comment) @injection.content
(#set! injection.language "comment"))
(quasiquote
(quoter) @injection.language
(quasiquote_body) @injection.content)

Loading…
Cancel
Save