neovim: Fix PackerSync compatibility with session reloading

This commit is contained in:
Peter Cai 2022-08-14 14:48:33 -04:00
parent f889f445c3
commit 3e0f4970f0
1 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,6 @@
vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use)
return require('packer').startup({function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
@ -163,4 +163,11 @@ return require('packer').startup(function(use)
})
end,
}
end)
end,
config = {
display = {
open_fn = require('packer.util').float,
},
-- Let's reload manually
auto_reload_compiled = false,
}})