add user_config
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
vim.cmd("packadd packer.nvim")
|
||||
local cmd = vim.cmd
|
||||
|
||||
cmd("packadd packer.nvim")
|
||||
|
||||
local present, packer = pcall(require, "packer")
|
||||
|
||||
@@ -19,7 +21,7 @@ if not present then
|
||||
}
|
||||
)
|
||||
|
||||
vim.cmd("packadd packer.nvim")
|
||||
cmd("packadd packer.nvim")
|
||||
present, packer = pcall(require, "packer")
|
||||
|
||||
if present then
|
||||
@@ -33,9 +35,13 @@ return packer.init {
|
||||
display = {
|
||||
open_fn = function()
|
||||
return require("packer.util").float {border = "single"}
|
||||
end
|
||||
end,
|
||||
prompt_border = "single"
|
||||
},
|
||||
git = {
|
||||
clone_timeout = 600 -- Timeout, in seconds, for git clones
|
||||
}
|
||||
},
|
||||
auto_clean = true,
|
||||
compile_on_sync = true
|
||||
-- auto_reload_compiled = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user