Moving to individual plugin files for lazy
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -1,24 +1,27 @@
|
||||
local setup, nvimtree = pcall(require, "nvim-tree")
|
||||
if not setup then
|
||||
return
|
||||
end
|
||||
return {
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
config = function()
|
||||
local nvimtree = require("nvim-tree")
|
||||
|
||||
nvimtree.setup({
|
||||
sync_root_with_cwd = true,
|
||||
view = {
|
||||
width = 30,
|
||||
},
|
||||
git = {
|
||||
ignore = false,
|
||||
},
|
||||
filters = {
|
||||
dotfiles = false,
|
||||
custom = {
|
||||
"node_modules",
|
||||
".git",
|
||||
},
|
||||
exclude = {
|
||||
".gitignore",
|
||||
},
|
||||
},
|
||||
})
|
||||
nvimtree.setup({
|
||||
sync_root_with_cwd = true,
|
||||
view = {
|
||||
width = 30,
|
||||
},
|
||||
git = {
|
||||
ignore = false,
|
||||
},
|
||||
filters = {
|
||||
dotfiles = false,
|
||||
custom = {
|
||||
"node_modules",
|
||||
".git",
|
||||
},
|
||||
exclude = {
|
||||
".gitignore",
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user