feat(nvim-tree): add file explorer
This commit is contained in:
parent
637aecc178
commit
54c18b6493
2 changed files with 13 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
-- Plugins
|
-- Plugins
|
||||||
require("config.lazy")
|
require("config.lazy")
|
||||||
|
vim.g.loaded_netrw = 1 -- Disables netrw
|
||||||
|
vim.g.loaded_newtwPlugin = 1 -- for nvim-tree
|
||||||
|
|
||||||
-- Visual
|
-- Visual
|
||||||
vim.opt.number = true -- Show line numbers
|
vim.opt.number = true -- Show line numbers
|
||||||
|
|
11
.config/nvim/lua/plugins/init.lua
Normal file
11
.config/nvim/lua/plugins/init.lua
Normal 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,
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue