feat(nvim-tree): add file explorer

This commit is contained in:
Mohammad Rafiq 2025-02-21 00:27:30 +08:00
parent 637aecc178
commit 54c18b6493
2 changed files with 13 additions and 0 deletions

View file

@ -1,5 +1,7 @@
-- Plugins
require("config.lazy")
vim.g.loaded_netrw = 1 -- Disables netrw
vim.g.loaded_newtwPlugin = 1 -- for nvim-tree
-- Visual
vim.opt.number = true -- Show line numbers

View file

@ -0,0 +1,11 @@
return { -- Lua table
"nvim-tree/nvim-tree.lua", -- github repo
version = "*", -- latest version
lazy = false, -- dont use lazy loading
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
require("nvim-tree").setup {}
end,
}