plugins.nvim-tree.filters.custom

Custom list of vim regex for file/directory names that will not be shown. Backslashes must be escaped e.g. “^\.git”. See |string-match|. Toggle via the toggle_custom action, default mapping U.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: [ ]

Declared by:

plugins.nvim-tree.filters.dotfiles

Do not show dotfiles: files starting with a . Toggle via the toggle_dotfiles action, default mapping H.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.nvim-tree.filters.exclude

List of directories or files to exclude from filtering: always show them. Overrides git.ignore, filters.dotfiles and filters.custom.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: [ ]

Declared by:

plugins.nvim-tree.filters.gitClean

Do not show files with no git status. This will show ignored files when |nvim-tree.git.ignore| is set, as they are effectively dirty. Toggle via the toggle_git_clean action, default mapping C.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.nvim-tree.filters.noBuffer

Do not show files that have no listed buffer. Toggle via the toggle_no_buffer action, default mapping B. For performance reasons this may not immediately update on buffer delete/wipe. A reload or filesystem event will result in an update.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by: