Haskell injection: support inline json

Support for inline json using the quasiquoter `aesonQQ`: https://github.com/sol/aeson-qq#readme
This commit is contained in:
Guillaume Bouchard 2022-08-27 15:50:03 +02:00 committed by Stephan Seitz
parent f3c53d225a
commit 3993d90a52

View file

@ -56,3 +56,13 @@
(#eq? @_name "hsx")
((quasiquote_body) @html)
)
;; -----------------------------------------------------------------------------
;; Inline JSON from aeson
(quasiquote
(quoter) @_name
(#eq? @_quoter "aesonQQ")
((quasiquote_body) @json)
)