Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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"
]