Sensify neovim output on init
This commit is contained in:
parent
dd7886205f
commit
15f6079e28
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||||
})
|
})
|
||||||
|
@ -19,7 +19,7 @@ require('packer').startup(function()
|
||||||
local use = require('packer').use
|
local use = require('packer').use
|
||||||
|
|
||||||
-- The plugin manager itself
|
-- The plugin manager itself
|
||||||
use { 'wbthomason/packer.nvim', opt = true }
|
use {'wbthomason/packer.nvim', opt=true}
|
||||||
|
|
||||||
-- Colorscheme
|
-- Colorscheme
|
||||||
use {
|
use {
|
||||||
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue