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.
commit3e2eca0db85361d355de276b98797a86f0335e42
authorClément Delafargue <clement@delafargue.name>
dateWed 12 Apr 2023, 16:36 (4 years ago)
parentdeab323
runtime/queries/haskell/injections.scm+4
@@ -1,2 +1,6 @@
11((comment) @injection.content
22 (#set! injection.language "comment"))
3+
4+(quasiquote
5+ (quoter) @injection.language
6+ (quasiquote_body) @injection.content)