mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(haskell): injection for morpheus-graphql-client quasiquotes
This commit is contained in:
parent
186810d6ad
commit
b6271b678e
1 changed files with 11 additions and 0 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue