plugins.treesitter.folding.enable
Whether to enable tree-sitter based folding.
Type: boolean
Default:
false
Example:
true
plugins.treesitter.folding.disable
Languages or filetypes for which tree-sitter based folding should not be enabled by
Nixvim. A raw Lua function may be used for buffer-specific control; it receives the
tree-sitter language, buffer number, and filetype, in that order, and should return
true to disable folding.
Type: (list of string) or raw lua code
Default:
[ ]
Example:
[
"markdown"
"nix"
]