diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index a38d214..0a56c7b 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -12,3 +12,7 @@ require('my/net') if packer_bootstrap then require('packer').sync() end + +if not io.open(vim.fn.stdpath('config') .. '/plugin','r') then + require('packer').install() +end