plugins.nvim-ufo.enable

Whether to enable nvim-ufo.

Type: boolean

Default: false

Example: true

Declared by:

plugins.nvim-ufo.enableGetFoldVirtText

Enable a function with lnum as a parameter to capture the virtual text for the folded lines and export the function to get_fold_virt_text field of ctx table as 6th parameter in fold_virt_text_handler

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.nvim-ufo.package

Which package to use for the nvim-ufo plugin.

Type: package

Default: <derivation vimplugin-nvim-ufo-2024-04-03>

Declared by:

plugins.nvim-ufo.closeFoldKinds

After the buffer is displayed (opened for the first time), close the folds whose range with kind field is included in this option. For now, ‘lsp’ provider’s standardized kinds are ‘comment’, ‘imports’ and ‘region’, run UfoInspect for details if your provider has extended the kinds.

Type: null or (attribute set)

Default: null

Declared by:

plugins.nvim-ufo.extraOptions

These attributes will be added to the table parameter for the setup function. Typically, it can override NixVim’s default settings.

Type: attribute set of anything

Default: { }

Declared by:

plugins.nvim-ufo.foldVirtTextHandler

A lua function to customize fold virtual text

Plugin default: null

Type: null or lua function string

Default: null

Declared by:

plugins.nvim-ufo.openFoldHlTimeout

Time in millisecond between the range to be highlgihted and to be cleared while opening the folded line, 0 value will disable the highlight

Plugin default: 400

Type: null or signed integer or floating point number or raw lua code

Default: null

Declared by:

plugins.nvim-ufo.providerSelector

A lua function as a selector for fold providers.

Plugin default: null

Type: null or lua function string

Default: null

Declared by: