[NeoVim] Packer Bootstrap
This commit is contained in:
6
.config/nvim/lua/bootstrap.lua
Normal file
6
.config/nvim/lua/bootstrap.lua
Normal 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
|
||||
Reference in New Issue
Block a user