add user_config

This commit is contained in:
siduck76
2021-08-12 17:28:03 +05:30
parent d5c64d335e
commit 0efa21c9c9
10 changed files with 253 additions and 84 deletions

View File

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