more nvim update

This commit is contained in:
EvilMuffinHa 2023-07-11 15:26:11 -04:00
parent ce1b38e321
commit eb03b36be0

View File

@ -1,23 +1,23 @@
local fn = vim.fn local fn = vim.fn
local is_bootstrawp = false local is_bootstrap = false
local bootstrap_output = '' local bootstrap_output = ''
local install_path = fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim' local install_path = fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then if fn.empty(fn.glob(install_path)) > 0 then
bootstrap_output = fn.system({ bootstrap_output = fn.system({
'git', 'git',
'clone', 'clone',
'--depth', '1', '--depth', '1',
'https://github.com/wbthomason/packer.nvim', 'https://github.com/wbthomason/packer.nvim',
install_path install_path
}) })
is_bootstrap = true is_bootstrap = true
vim.cmd 'packloadall' vim.cmd 'packloadall'
end end
return { return {
is_bootstrap = is_bootstrap, is_bootstrap = is_bootstrap,
bootstrap_output = bootstrap_output, bootstrap_output = bootstrap_output,
} }