breaking change : re-implement custom mappings | simplify it | add whichkey
fixes #1057 , #1047
This commit is contained in:
@@ -27,21 +27,22 @@ if not present then
|
||||
end
|
||||
end
|
||||
|
||||
local user_snapshot = nvchad.load_config().snapshot
|
||||
|
||||
packer.init {
|
||||
local options = {
|
||||
display = {
|
||||
open_fn = function()
|
||||
return require("packer.util").float { border = "single" }
|
||||
return require("packer.util").float { border = "double" }
|
||||
end,
|
||||
prompt_border = "single",
|
||||
},
|
||||
git = {
|
||||
clone_timeout = 6000, -- seconds
|
||||
},
|
||||
auto_clean = true,
|
||||
compile_on_sync = true,
|
||||
snapshot = user_snapshot,
|
||||
snapshot = nil,
|
||||
}
|
||||
|
||||
options = nvchad.load_override(options, "wbthomason/packer.nvim")
|
||||
|
||||
packer.init(options)
|
||||
|
||||
return packer
|
||||
|
||||
Reference in New Issue
Block a user