[nvim] fix: call packer *after* downloading it
This commit is contained in:
parent
f76d95e482
commit
2e26e7df30
@ -4,7 +4,6 @@
|
||||
-- Description : neovim packer config file
|
||||
|
||||
|
||||
local packer = require("packer")
|
||||
local install_path = vim.fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
|
||||
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
||||
print("Cloning packer...")
|
||||
@ -20,6 +19,8 @@ if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
||||
print("Done.")
|
||||
end
|
||||
|
||||
local packer = require("packer")
|
||||
|
||||
packer.init({
|
||||
display = {
|
||||
working_sym = ' ', -- The symbol for a plugin being installed/updated
|
||||
|
Reference in New Issue
Block a user