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/6432/head^2
Clément Delafargue 2 years 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