neovim/nvim/lua/nvim-tree-config.lua
2023-02-12 19:40:49 +01:00

12 lines
254 B
Lua

vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
require("nvim-tree").setup()
local function open_nvim_tree()
-- open the tree
require("nvim-tree.api").tree.open()
end
vim.api.nvim_create_autocmd({ "VimEnter" }, { callback = open_nvim_tree })