mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 16:30:02 -04:00
feat(format-scripts): linewrap predicates
"format-ignore".kick()
This commit is contained in:
parent
a29058fe8b
commit
31641d72a4
57 changed files with 1622 additions and 1537 deletions
|
|
@ -35,7 +35,9 @@
|
|||
((set_item
|
||||
option: (option_name) @_option
|
||||
value: (set_value) @injection.content)
|
||||
(#any-of? @_option "includeexpr" "inex" "printexpr" "pexpr" "formatexpr" "fex" "indentexpr" "inde" "foldtext" "fdt" "foldexpr" "fde" "diffexpr" "dex" "patchexpr" "pex" "charconvert" "ccv")
|
||||
(#any-of? @_option
|
||||
"includeexpr" "inex" "printexpr" "pexpr" "formatexpr" "fex" "indentexpr" "inde" "foldtext" "fdt"
|
||||
"foldexpr" "fde" "diffexpr" "dex" "patchexpr" "pex" "charconvert" "ccv")
|
||||
(#set! injection.language "vim"))
|
||||
|
||||
((comment) @injection.content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue