feat(haskell): injections for inline-python quasiquotes

This commit is contained in:
Marc Jakobi 2025-04-30 10:46:14 +02:00 committed by Christian Clason
parent 3b308861a8
commit 94ea4f436d

View file

@ -74,3 +74,11 @@
(#any-of? @_name "persistUpperCase" "persistLowerCase" "persistWith")
(quasiquote_body) @injection.content
(#set! injection.language "haskell_persistent"))
; -----------------------------------------------------------------------------
; Python
; inline-python
(quasiquote
(quoter) @injection.language
(#any-of? @injection.language "pymain" "pye" "py_" "pyf")
(quasiquote_body) @injection.content)