mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Fix the issue that inccommand breaks one-line if-else statement
See also https://github.com/neovim/neovim/issues/8796
This commit is contained in:
parent
114b3b9e45
commit
94561247a9
@ -67,7 +67,9 @@ augroup END
|
||||
|
||||
" Clear cmd line message
|
||||
function! s:empty_message(timer)
|
||||
if mode() ==# 'n' | echo '' | endif
|
||||
if mode() ==# 'n'
|
||||
echo ''
|
||||
endif
|
||||
endfunction
|
||||
|
||||
augroup cmd_msg_cls
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user