.dotfiles/configs/nvim/lua/utils/install-packer.lua

6 lines
251 B
Lua
Raw Normal View History

2021-10-25 19:44:21 +02:00
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
2022-04-25 16:23:14 +02:00
fn.system({ 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path })
2021-10-25 19:44:21 +02:00
end