-
-
Notifications
You must be signed in to change notification settings - Fork 609
Installation
Alexander Courtis edited this page Nov 1, 2024
·
9 revisions
Required
nvim-tree/nvim-tree.lua
Recommended
-
nvim-tree/nvim-web-devicons
file icons
Optional
Please add your preferred plugin manager.
use {
'nvim-tree/nvim-tree.lua',
requires = {
'nvim-tree/nvim-web-devicons', -- optional
},
}
Plug 'nvim-tree/nvim-web-devicons' " optional
Plug 'nvim-tree/nvim-tree.lua'
Importing file below or directory it is contained on lazy setup.
return {
"nvim-tree/nvim-tree.lua",
version = "*",
lazy = false,
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
require("nvim-tree").setup {}
end,
}
Ensure that your neovim plugin manager is not managing these plugins.
- neovim-tree-lua-git
- neovim-web-devicons-git (optional)
Lazy loading is not recommended.
nvim-tree setup
is very inexpensive, doing little more than validating and setting configuration. There's no performance benefit for lazy loading.
Lazy loading can be problematic due to the somewhat nondeterministic startup order of plugins, session managers, netrw, "VimEnter"
event etc.
If you cannot use the required version of nvim-tree you may use an older version via tag:
compat-nvim-0.8
compat-nvim-0.7
compat-nvim-0.6
Please note that these compatibility versions are not maintained or updated.