Dot_Files/.config/nvim/lua/plugins/packerstrap.lua
2022-01-10 09:55:15 -06:00

11 lines
327 B
Lua
Executable File

local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
end
if packer_bootstrap then
require('packer').sync()
end