Skip to content

Commit

Permalink
feat: update tree sitter injections again
Browse files Browse the repository at this point in the history
To be honest, I have NO idea how this works, so I just copy pasted AGAIN
an injection which is working and it is working, so why not.
  • Loading branch information
guibou committed Sep 24, 2023
1 parent 79912b8 commit 6f89e92
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions tree-sitter-pyf/vim-plugin/after/queries/haskell/injections.scm
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
; extends
(quasiquote
((quoter) @_quoter (#any-of? @_quoter "fmt" "fmtTrim"))
(quasiquote_body) @pyf
)
(quoter) @_name
(#eq? @_name "fmt")
((quasiquote_body) @injection.content)
(#set! injection.language "pyf"))

(quasiquote
(quoter) @_name
(#eq? @_name "fmtTrim")
((quasiquote_body) @injection.content)
(#set! injection.language "pyf"))

0 comments on commit 6f89e92

Please sign in to comment.