diff options
| author | jdhao <jdhao@hotmail.com> | 2021-07-24 14:53:48 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-07-24 14:53:48 +0800 |
| commit | f7475f3e4fb01d5a34b0eec3ebff18981e910e87 (patch) | |
| tree | c6df470308f67c4204390a40577788d5de5d6144 /autoload/buf_utils.vim | |
| parent | b0eb7c4508599a7eace480d89e764612664839a3 (diff) | |
Refactor: use a unified log function
Diffstat (limited to 'autoload/buf_utils.vim')
| -rw-r--r-- | autoload/buf_utils.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
