18 lines
520 B
Lua
18 lines
520 B
Lua
return {
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
branch = "v2.x",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
|
"MunifTanjim/nui.nvim",
|
|
},
|
|
cmd = "NeoTree",
|
|
event = { "BufEnter" },
|
|
init = function()
|
|
vim.g.loaded_netrw = 1
|
|
vim.g.loaded_netrwPlugin = 1
|
|
vim.g.neo_tree_remove_legacy_commands = 1
|
|
end,
|
|
config = function() require("neo-tree").setup(require "config.neotree") end,
|
|
}
|