feat(haskell): injection for morpheus-graphql-client quasiquotes

This commit is contained in:
Marc Jakobi 2025-07-23 15:58:06 +02:00 committed by Christian Clason
parent 186810d6ad
commit b6271b678e

View file

@ -83,3 +83,14 @@
(#any-of? @_name "pymain" "pye" "py_" "pyf")
(quasiquote_body) @injection.content
(#set! injection.language "python"))
; -----------------------------------------------------------------------------
; GraphQL
; morpheus-graphql-client
(_
function: (apply
function: (variable) @_name)
argument: (quasiquote
body: (quasiquote_body) @injection.content)
(#set! injection.language "graphql")
(#eq? @_name "declareLocalTypesInline"))