[NeoVim] Packer Bootstrap

This commit is contained in:
2022-08-22 15:41:42 +02:00
committed by Pierre Jeanjean
parent 418a40fcfa
commit ad369f8dd6
7 changed files with 27 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
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})
vim.cmd [[packadd packer.nvim]]
end