2023-02-20 11:09:53 +00:00
|
|
|
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",
|
|
|
|
},
|
2023-04-24 11:41:54 +01:00
|
|
|
cmd = "NeoTree",
|
|
|
|
event = { "BufEnter" },
|
|
|
|
init = function()
|
2023-04-21 14:25:24 +01:00
|
|
|
vim.g.loaded_netrw = 1
|
|
|
|
vim.g.loaded_netrwPlugin = 1
|
|
|
|
vim.g.neo_tree_remove_legacy_commands = 1
|
2023-02-20 11:09:53 +00:00
|
|
|
end,
|
2023-04-24 11:41:54 +01:00
|
|
|
config = function() require("neo-tree").setup(require "config.neotree") end,
|
2023-02-20 11:09:53 +00:00
|
|
|
}
|