diff --git a/.config/nvim/lua/blake/plugins.lua b/.config/nvim/lua/blake/plugins.lua index cb450eb..f897b88 100644 --- a/.config/nvim/lua/blake/plugins.lua +++ b/.config/nvim/lua/blake/plugins.lua @@ -3,7 +3,7 @@ local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' if fn.empty(fn.glob(install_path)) > 0 then - fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) + PackerBootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) vim.cmd 'packadd packer.nvim' end -- }} @@ -488,9 +488,10 @@ return require('packer').startup({function() -- Bootstrap packer if needed { - if (packer_bootstrap) then + if (PackerBootstrap) then require('packer').sync() - end -- } + end + -- } end, config = { display = { open_fn = require('packer.util').float },