plugins.nvim-tree.renderer.addTrailing

Appends a trailing slash to folder names.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.nvim-tree.renderer.fullName

Display node whose name length is wider than the width of nvim-tree window in floating window.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.nvim-tree.renderer.groupEmpty

Compact folders that only contain a single folder into one node in the file tree.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.nvim-tree.renderer.highlightGit

Enable file highlight for git attributes using NvimTreeGit* highlight groups. Requires nvim-tree.git.enable This can be used with or without the icons.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.nvim-tree.renderer.highlightModified

Highlight icons and/or names for modified files using the NvimTreeModified highlight group. Requires nvim-tree.modified.enable This can be used with or without the icons.

Plugin default: "none"

Type: null or one of “none”, “icon”, “name”, “all” or raw lua code

Default: null

Declared by:

plugins.nvim-tree.renderer.highlightOpenedFiles

Highlight icons and/or names for opened files using the NvimTreeOpenedFile highlight group.

Plugin default: "none"

Type: null or one of “none”, “icon”, “name”, “all” or raw lua code

Default: null

Declared by:

plugins.nvim-tree.renderer.indentWidth

Number of spaces for an each tree nesting level. Minimum 1.

Plugin default: 2

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

Default: null

Declared by:

plugins.nvim-tree.renderer.rootFolderLabel

In what format to show root folder. See :help filename-modifiers for available string options.

Set to false to hide the root folder.

This can also be a function(root_cwd) which is passed the absolute path of the root folder and should return a string. e.g.

rootFolderLabel = { __raw = '' my_root_folder_label = function(path) return “…/” … vim.fn.fnamemodify(path, “:t”) end ''; };

Plugin default: :~:s?$?/..?

Type: null or string or boolean or raw lua code

Default: null

Declared by:

plugins.nvim-tree.renderer.specialFiles

A list of filenames that gets highlighted with NvimTreeSpecialFile.

Plugin default: [ "Cargo.toml" "Makefile" "README.md" "readme.md" ]

Type: null or (list of string)

Default: null

Declared by:

plugins.nvim-tree.renderer.symlinkDestination

Whether to show the destination of the symlink.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by: