mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(haskell): properly set inline-python injection language
This commit is contained in:
parent
61b0a05ec0
commit
dd63d7141f
1 changed files with 4 additions and 3 deletions
|
|
@ -79,6 +79,7 @@
|
|||
; Python
|
||||
; inline-python
|
||||
(quasiquote
|
||||
(quoter) @injection.language
|
||||
(#any-of? @injection.language "pymain" "pye" "py_" "pyf")
|
||||
(quasiquote_body) @injection.content)
|
||||
(quoter) @_name
|
||||
(#any-of? @_name "pymain" "pye" "py_" "pyf")
|
||||
(quasiquote_body) @injection.content
|
||||
(#set! injection.language "python"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue