Comment out haskell_persistent and sql injections
- the haskell_persistent grammar has not been added, see https://github.com/nvim-treesitter/nvim-treesitter/tree/master/queries/haskell_persistent and https://github.com/MercuryTechnologies/tree-sitter-haskell-persistent - the sql grammar has not been added either
This commit is contained in:
parent
d35c3eee07
commit
58a9f51361
1 changed files with 17 additions and 9 deletions
|
@ -75,15 +75,23 @@
|
||||||
(#set! injection.language "json"))
|
(#set! injection.language "json"))
|
||||||
|
|
||||||
; -----------------------------------------------------------------------------
|
; -----------------------------------------------------------------------------
|
||||||
|
; NOTE: Commented out because the "sql" grammar is not currently added to Zed.
|
||||||
|
;
|
||||||
; SQL
|
; SQL
|
||||||
; postgresql-simple
|
; postgresql-simple
|
||||||
(quasiquote
|
;
|
||||||
(quoter) @injection.language
|
; (quasiquote
|
||||||
(#eq? @injection.language "sql")
|
; (quoter) @injection.language
|
||||||
(quasiquote_body) @injection.content)
|
; (#eq? @injection.language "sql")
|
||||||
|
; (quasiquote_body) @injection.content)
|
||||||
|
|
||||||
(quasiquote
|
; -----------------------------------------------------------------------------
|
||||||
(quoter) @_name
|
; NOTE: Commented out because the "haskell_persistent" grammar is not currently added to Zed.
|
||||||
(#any-of? @_name "persistUpperCase" "persistLowerCase" "persistWith")
|
; See: https://github.com/nvim-treesitter/nvim-treesitter/tree/master/queries/haskell_persistent
|
||||||
(quasiquote_body) @injection.content
|
; https://github.com/MercuryTechnologies/tree-sitter-haskell-persistent
|
||||||
(#set! injection.language "haskell_persistent"))
|
;
|
||||||
|
; (quasiquote
|
||||||
|
; (quoter) @_name
|
||||||
|
; (#any-of? @_name "persistUpperCase" "persistLowerCase" "persistWith")
|
||||||
|
; (quasiquote_body) @injection.content
|
||||||
|
; (#set! injection.language "haskell_persistent"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue