Skip to content
Alexander Courtis edited this page Jul 2, 2023 · 9 revisions

Plugins

Required

  • nvim-tree/nvim-tree.lua

Recommended

  • nvim-tree/nvim-web-devicons file icons

Extensions

  • antosha417/nvim-lsp-file-operations LSP file operation handling
  • echasnovski/mini.base16 base16 colours

Plugin Managers

Please add unlisted plugin managers to this page.

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,
}

Lazy Loading

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.

Older neovim Versions

If you cannot use the required version of nvim-tree you may use an older version via tag:

  • compat-nvim-0.7
  • compat-nvim-0.6

Please note that these compatibility versions are not maintained or updated.

Clone this wiki locally