nixos/home/tui/config/nvim/lua/plugins/neotree.lua

18 lines
520 B
Lua
Raw Normal View History

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
end,
2023-04-24 11:41:54 +01:00
config = function() require("neo-tree").setup(require "config.neotree") end,
}