mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(haskell): injections for inline-python quasiquotes
This commit is contained in:
parent
3b308861a8
commit
94ea4f436d
1 changed files with 8 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue