mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 20:45:37 +00:00
14 lines
367 B
Lua
14 lines
367 B
Lua
|
-- Bootstrap the Packer plugin manager
|
||
|
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
|