mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -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
|
; Python
|
||||||
; inline-python
|
; inline-python
|
||||||
(quasiquote
|
(quasiquote
|
||||||
(quoter) @injection.language
|
(quoter) @_name
|
||||||
(#any-of? @injection.language "pymain" "pye" "py_" "pyf")
|
(#any-of? @_name "pymain" "pye" "py_" "pyf")
|
||||||
(quasiquote_body) @injection.content)
|
(quasiquote_body) @injection.content
|
||||||
|
(#set! injection.language "python"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue