1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

only clear cmdline output when in normal mode

This commit is contained in:
jdhao
2020-10-09 10:30:55 +08:00
committed by GitHub
parent 9335b9816c
commit d23ef8acd0

View File

@@ -67,7 +67,7 @@ augroup END
" Clear cmd line message
function! s:empty_message(timer)
if mode() !=# 'c'
if mode() ==# 'n'
echo ''
endif
endfunction