aboutsummaryrefslogtreecommitdiff
path: root/core/autocommands.vim
diff options
context:
space:
mode:
Diffstat (limited to 'core/autocommands.vim')
-rw-r--r--core/autocommands.vim3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/autocommands.vim b/core/autocommands.vim
index 29b4cea..64b86f8 100644
--- a/core/autocommands.vim
+++ b/core/autocommands.vim
@@ -42,8 +42,7 @@ augroup END
" https://vi.stackexchange.com/a/20397/15292.
augroup auto_read
autocmd!
- autocmd FileChangedShellPost * echohl WarningMsg
- \ | echo "File changed on disk. Buffer reloaded!" | echohl None
+ autocmd FileChangedShellPost * call utils#Log("File changed on disk. Buffer reloaded!", 'warning')
autocmd FocusGained,CursorHold * if getcmdwintype() == '' | checktime | endif
augroup END