diff --git a/lua/neovim/plugsettings/nvimtree.lua b/lua/neovim/plugsettings/nvimtree.lua index da4c764..09080b9 100644 --- a/lua/neovim/plugsettings/nvimtree.lua +++ b/lua/neovim/plugsettings/nvimtree.lua @@ -1,16 +1,16 @@ return { 'kyazdani42/nvim-web-devicons', { - 'kyazdani42/nvim-tree.lua', + 'https://git.qyhhh.top/newbieQQ/nvim-tree.lua', config = function () G.map({ {"n", "", ":NvimTreeToggle", {noremap = true}}, }) require'nvim-tree'.setup { sort_by = "case_sensitive", - view = { width = 30, }, + view = { width = 30, }, filters = { dotfiles = true, }, - git = { enable = true }, + git = { enable = true }, -- on_attach = my_on_attach, } diff --git a/lua/normal/plugsettings/edit-plugs.lua b/lua/normal/plugsettings/edit-plugs.lua index b47a76d..e9d4b59 100644 --- a/lua/normal/plugsettings/edit-plugs.lua +++ b/lua/normal/plugsettings/edit-plugs.lua @@ -8,8 +8,6 @@ return { --格式整理 { 'junegunn/vim-easy-align', - lazy = true, - cmd = "EasyAlign", config = function () G.map({ {"v", "ga", ":EasyAlign", {noremap = true}}, diff --git a/lua/normal/plugsettings/hop.lua b/lua/normal/plugsettings/hop.lua index bd14ab2..40688a6 100644 --- a/lua/normal/plugsettings/hop.lua +++ b/lua/normal/plugsettings/hop.lua @@ -1,13 +1,9 @@ return { "phaazon/hop.nvim", branch = "v2", - cmd = { - "HopChar1MW", - "HopChar2MW", - }, keys = { "f","F","t","T", - "f", "F" + "" }, lazy = true, config = function ()