From f7475f3e4fb01d5a34b0eec3ebff18981e910e87 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 24 Jul 2021 14:53:48 +0800 Subject: Refactor: use a unified log function --- autoload/buf_utils.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload/buf_utils.vim') diff --git a/autoload/buf_utils.vim b/autoload/buf_utils.vim index db34ae0..fa2aefd 100644 --- a/autoload/buf_utils.vim +++ b/autoload/buf_utils.vim @@ -11,7 +11,7 @@ function! buf_utils#GoToBuffer(count, direction) abort endif " Check the validity of buffer number. if index(s:GetBufNums(), a:count) == -1 - echohl WarningMsg | echomsg 'Invalid bufnr: ' a:count | echohl None + call utils#Log('Invalid bufnr: ' . a:count, 'error') return endif -- cgit v1.2.3