add: Packer snapshot feature (#721)
This commit is contained in:
parent
36aeebc580
commit
985217b93f
3 changed files with 20 additions and 0 deletions
|
@ -27,6 +27,8 @@ if not present then
|
|||
end
|
||||
end
|
||||
|
||||
local user_snapshot = require("core.utils").load_config().snapshot
|
||||
|
||||
packer.init {
|
||||
display = {
|
||||
open_fn = function()
|
||||
|
@ -39,6 +41,7 @@ packer.init {
|
|||
},
|
||||
auto_clean = true,
|
||||
compile_on_sync = true,
|
||||
snapshot = user_snapshot,
|
||||
}
|
||||
|
||||
return packer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue