[NeoVim] Packer Bootstrap

This commit is contained in:
2022-08-22 15:41:42 +02:00
parent 84dbb0666a
commit 32e6c9f4d5
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

View File

@@ -1,4 +1,6 @@
return require('packer').startup(function()
use '~/.config/nvim/themes/solarized.nvim'
use 'wbthomason/packer.nvim'
use 'nvim-lua/popup.nvim'
@@ -64,4 +66,7 @@ return require('packer').startup(function()
use 'lervag/vimtex'
if Packer_Bootstrap then
require('packer').sync()
end
end)