diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index bf8da90..b36ef94 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -11,8 +11,6 @@ require('my/net') if packer_bootstrap then require('packer').sync() -end - -if not io.open(vim.fn.stdpath('config') .. '/plugin') then +elseif not io.open(vim.fn.stdpath('config') .. '/plugin') then require('packer').install() end diff --git a/.config/nvim/lua/my/coding.lua b/.config/nvim/lua/my/coding.lua index 6f36e19..905f8c3 100644 --- a/.config/nvim/lua/my/coding.lua +++ b/.config/nvim/lua/my/coding.lua @@ -57,4 +57,3 @@ packer.use { { paths = vim.fn.stdpath('config') .. '/snippets'} ) end } -