breaking change : re-implement custom mappings | simplify it | add whichkey

fixes #1057 , #1047
This commit is contained in:
siduck
2022-05-12 18:26:01 +05:30
parent 4fa0b4ae7d
commit 0844431d37
15 changed files with 442 additions and 240 deletions

View File

@@ -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