mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 19:03:30 +04:00
3e2eca0db8
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.
7 lines
151 B
Scheme
7 lines
151 B
Scheme
((comment) @injection.content
|
|
(#set! injection.language "comment"))
|
|
|
|
(quasiquote
|
|
(quoter) @injection.language
|
|
(quasiquote_body) @injection.content)
|