1
0
Fork 0

nvim: reduce logging when re-compiling on save

seems to work alright now.
This commit is contained in:
tastytea 2022-08-12 05:09:26 +02:00
parent d02c9953e9
commit 540a03eef6
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,6 @@ vim.api.nvim_create_autocmd(
-- exclude plugins.lua, because that would re-init packer
if (not vim.api.nvim_buf_get_name(0):match('plugins.lua$')) then
vim.cmd([[
echom 'reloading config file and installing new plugins…'
source <afile>
PackerInstall
]])
@ -34,7 +33,7 @@ vim.api.nvim_create_autocmd(
{
group = 'packer_user_config',
pattern = 'PackerComplete',
command = [[echom 'compiling plugins…' | PackerCompile]]
command = [[PackerCompile]]
}
)
vim.api.nvim_create_autocmd(
@ -42,6 +41,6 @@ vim.api.nvim_create_autocmd(
{
group = 'packer_user_config',
pattern = 'PackerCompileDone',
command = [[echom 'plugins compiled.']]
command = [[echo 'plugins compiled']]
}
)