nvim: reformat
This commit is contained in:
parent
0efa1bee90
commit
1bdf20f840
|
@ -1,7 +1,12 @@
|
||||||
local fn = vim.fn
|
local install_path = vim.fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
|
||||||
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
|
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
||||||
if fn.empty(fn.glob(install_path)) > 0 then
|
packer_bootstrap = vim.fn.system({
|
||||||
packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
'git',
|
||||||
|
'clone',
|
||||||
|
'--depth',
|
||||||
|
'1',
|
||||||
|
'https://github.com/wbthomason/packer.nvim',
|
||||||
|
install_path})
|
||||||
vim.cmd [[packadd packer.nvim]]
|
vim.cmd [[packadd packer.nvim]]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user