Sensify neovim output on init

This commit is contained in:
Marko Korhonen 2022-08-23 19:35:56 +03:00
parent dd7886205f
commit 15f6079e28
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5

View file

@ -4,7 +4,7 @@ local fn = vim.fn
local install_path = fn.stdpath('data') .. '/site/pack/packer/opt/packer.nvim' local install_path = fn.stdpath('data') .. '/site/pack/packer/opt/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then if fn.empty(fn.glob(install_path)) > 0 then
print('Installing Packer') print('Installing Packer')
Packer_bootstrap = fn.system({ Packer_installed = fn.system({
'git', 'clone', '--depth', '1', 'git', 'clone', '--depth', '1',
'https://github.com/wbthomason/packer.nvim', install_path 'https://github.com/wbthomason/packer.nvim', install_path
}) })
@ -178,8 +178,7 @@ end)
-- Sync plugins if Packer was just -- Sync plugins if Packer was just
-- installed -- installed
if Packer_bootstrap then if Packer_installed then
print('Syncing plugins') print('Syncing plugins')
require('packer').sync() require('packer').sync()
print('Synced')
end end