This commit is contained in:
newbieQQ 2023-11-15 12:56:11 +08:00
parent f13050bbff
commit 676663312a
2 changed files with 16 additions and 27 deletions

View File

@ -12,7 +12,6 @@ else
"clone",
"--filter=blob:none",
"http://git.qqnewbie.top/newbieQQ/lazy.nvim.git",
-- latest stable release
"--branch=stable",
lazypath,
})
@ -30,7 +29,7 @@ else
require("lazy").setup({
require('normal.plug'),
require('neovim.plug')
require('neovim.plug'),
})
require('normal.normal')

View File

@ -3,27 +3,17 @@ return {
{
'kyazdani42/nvim-tree.lua',
config = function ()
G.map({
{"n", "<c-e>", ":NvimTreeToggle<CR>", {noremap = true}},
})
require'nvim-tree'.setup {
sort_by = "case_sensitive",
view = {
width = 30,
},
-- renderer = {
-- group_empty = true,
-- },
filters = {
dotfiles = true,
},
-- -- 关闭文件时自动关闭
-- auto_close = true,
-- -- 不显示 git 状态图标
-- git = {
-- enable = true
-- }
view = { width = 30, },
filters = { dotfiles = true, },
git = { enable = true },
-- on_attach = my_on_attach,
}
G.map({
{"n", "<c-e>", ":NvimTreeToggle<CR>",{noremap = true}},
})
end
}