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
|
||||
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
|
||||
print('Installing Packer...')
|
||||
print("Installing Packer...")
|
||||
vim.fn.system({
|
||||
'git',
|
||||
'clone',
|
||||
'--depth=1',
|
||||
'https://github.com/wbthomason/packer.nvim',
|
||||
"git",
|
||||
"clone",
|
||||
"--depth=1",
|
||||
"https://github.com/wbthomason/packer.nvim",
|
||||
packer_path
|
||||
})
|
||||
vim.cmd [[packadd packer.nvim]]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue