Moving to individual plugin files for lazy

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-09-03 13:36:05 +02:00
parent e9fad30daf
commit 93d665867b
37 changed files with 1130 additions and 1205 deletions

View File

@@ -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,
}