rajvatsal 47b7622fe7 feat(vatsal): Create new config vatsal
kickstart folder contains the original init.lua file. Current init.lua
gets it's config from lua.vatsal.plugins which what I created to
modularize the code and enable lazy loading.

Init to lua now loads all the plugins from vatsal.plugins
2024-01-10 15:20:47 +05:30

34 lines
728 B
Lua

return {
"nvim-tree/nvim-tree.lua",
lazy = 'true',
cmd = { 'NvimTreeToggle', 'NvimTreeOpen' },
keys = {
{ '<S-t>', '<cmd>NvimTreeToggle .<CR>', { noremap = true, silent = true } }
},
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
},
--[[ init = function()
vim.api.nvim_create_autocmd('BufEnter', {
pattern = 'NvimTree',
command = ":lua require('gitsigns').detach()"
})
end, ]]
opts = {
sort = {
sorter = "case_sensitive",
},
view = {
width = 38,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
},
}