aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-10-18 23:12:17 +0800
committerjdhao <jdhao@hotmail.com>2020-10-18 23:12:17 +0800
commit61ff354de086fac2d5cfd51973721bbfd3d66cb2 (patch)
treea206a529136a63563b49f2479ccb6f1f31433545
parent9ffdef5894ff83be7b7e1ef073e394a2dd873eb4 (diff)
update
-rw-r--r--autocommands.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/autocommands.vim b/autocommands.vim
index 8f9348f..a64770d 100644
--- a/autocommands.vim
+++ b/autocommands.vim
@@ -67,9 +67,7 @@ augroup END
" Clear cmd line message
function! s:empty_message(timer)
- if mode() ==# 'n'
- echon ''
- endif
+ if mode() ==# 'n' | echo '' | endif
endfunction
augroup cmd_msg_cls