packer.nvim
packer.nvim copied to clipboard
Bootstrap code didn't work(for me).
The code in Bootstrap didn't work.
There is a solution:
local install_path = vim.fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
if vim.fn.isdirectory(install_path) == 0 then
print 'downloading packer.nvim'
packer_bootstrap = vim.fn.system { 'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path }
vim.cmd [[packadd packer.nvim]]
end