plugins.nvim-tree.renderer.addTrailing
Appends a trailing slash to folder names.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.nvim-tree.renderer.fullName
Display node whose name length is wider than the width of nvim-tree window in floating window.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.nvim-tree.renderer.groupEmpty
Compact folders that only contain a single folder into one node in the file tree.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
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.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
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.
Type: null or one of “none”, “icon”, “name”, “all” or raw lua code
Default:
null
Plugin default: "none"
Declared by:
plugins.nvim-tree.renderer.highlightOpenedFiles
Highlight icons and/or names for opened files using the NvimTreeOpenedFile
highlight
group.
Type: null or one of “none”, “icon”, “name”, “all” or raw lua code
Default:
null
Plugin default: "none"
Declared by:
plugins.nvim-tree.renderer.indentWidth
Number of spaces for an each tree nesting level. Minimum 1.
Type: null or signed integer or floating point number or raw lua code
Default:
null
Plugin default: 2
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 ''; };
Type: null or string or boolean or raw lua code
Default:
null
Plugin default: ":~:s?$?/..?"
Declared by:
plugins.nvim-tree.renderer.specialFiles
A list of filenames that gets highlighted with NvimTreeSpecialFile
.
Type: null or (list of (string or raw lua code))
Default:
null
Plugin default:
[
"Cargo.toml"
"Makefile"
"README.md"
"readme.md"
]
Declared by:
plugins.nvim-tree.renderer.symlinkDestination
Whether to show the destination of the symlink.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by: