nvim: reduce logging when re-compiling on save
seems to work alright now.
This commit is contained in:
parent
d02c9953e9
commit
540a03eef6
|
@ -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']]
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user