2023-10-01 17:18:36 +08:00
|
|
|
return {
|
2023-11-15 12:56:11 +08:00
|
|
|
'kyazdani42/nvim-web-devicons',
|
|
|
|
{
|
|
|
|
'kyazdani42/nvim-tree.lua',
|
|
|
|
config = function ()
|
2023-10-15 22:30:52 +08:00
|
|
|
G.map({
|
2023-11-15 12:56:11 +08:00
|
|
|
{"n", "<c-e>", ":NvimTreeToggle<CR>", {noremap = true}},
|
2023-10-15 22:30:52 +08:00
|
|
|
})
|
2023-11-15 12:56:11 +08:00
|
|
|
require'nvim-tree'.setup {
|
|
|
|
sort_by = "case_sensitive",
|
|
|
|
view = { width = 30, },
|
|
|
|
filters = { dotfiles = true, },
|
|
|
|
git = { enable = true },
|
|
|
|
-- on_attach = my_on_attach,
|
|
|
|
}
|
2023-10-15 22:30:52 +08:00
|
|
|
|
2023-11-15 12:56:11 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
}
|
2023-10-15 22:30:52 +08:00
|
|
|
|
2023-10-01 17:18:36 +08:00
|
|
|
}
|
2023-10-15 22:30:52 +08:00
|
|
|
|