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

View File

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