[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
|
-- Description : neovim packer config file
|
||||||
|
|
||||||
|
|
||||||
local packer = require("packer")
|
|
||||||
local install_path = vim.fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
|
local install_path = vim.fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
|
||||||
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
||||||
print("Cloning packer...")
|
print("Cloning packer...")
|
||||||
@ -20,6 +19,8 @@ if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
|||||||
print("Done.")
|
print("Done.")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local packer = require("packer")
|
||||||
|
|
||||||
packer.init({
|
packer.init({
|
||||||
display = {
|
display = {
|
||||||
working_sym = ' ', -- The symbol for a plugin being installed/updated
|
working_sym = ' ', -- The symbol for a plugin being installed/updated
|
||||||
|
Reference in New Issue
Block a user