Update packer bootstrap
This commit is contained in:
parent
252cd10491
commit
8d241e4d95
1 changed files with 6 additions and 6 deletions
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
-- Bootstrap packer
|
-- Bootstrap packer
|
||||||
local ensure_packer = function()
|
local ensure_packer = function()
|
||||||
local packer_path = vim.fn.stdpath('data') .. 'site/pack/packer/start/packer.nvim'
|
local packer_path = vim.fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
|
||||||
if vim.fn.empty(vim.fn.glob(packer_path)) > 0 then
|
if vim.fn.empty(vim.fn.glob(packer_path)) > 0 then
|
||||||
print('Installing Packer...')
|
print("Installing Packer...")
|
||||||
vim.fn.system({
|
vim.fn.system({
|
||||||
'git',
|
"git",
|
||||||
'clone',
|
"clone",
|
||||||
'--depth=1',
|
"--depth=1",
|
||||||
'https://github.com/wbthomason/packer.nvim',
|
"https://github.com/wbthomason/packer.nvim",
|
||||||
packer_path
|
packer_path
|
||||||
})
|
})
|
||||||
vim.cmd [[packadd packer.nvim]]
|
vim.cmd [[packadd packer.nvim]]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue