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:
parent
9335b9816c
commit
d23ef8acd0
@ -67,7 +67,7 @@ augroup END
|
|||||||
|
|
||||||
" Clear cmd line message
|
" Clear cmd line message
|
||||||
function! s:empty_message(timer)
|
function! s:empty_message(timer)
|
||||||
if mode() !=# 'c'
|
if mode() ==# 'n'
|
||||||
echo ''
|
echo ''
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user