diff options
| author | jdhao <jdhao@hotmail.com> | 2020-11-06 22:33:41 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-11-06 22:33:41 +0800 |
| commit | 94561247a95f8818a17401a624e05b790b5b5c71 (patch) | |
| tree | 5de05dad7a6d3c731c29bc32d05e6f469a8a28b3 | |
| parent | 114b3b9e4502cb7f9587d14f7e5df06d3ab938e4 (diff) | |
Fix the issue that inccommand breaks one-line if-else statement
See also https://github.com/neovim/neovim/issues/8796
| -rw-r--r-- | core/autocommands.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/autocommands.vim b/core/autocommands.vim index a64770d..57b07cb 100644 --- a/core/autocommands.vim +++ b/core/autocommands.vim @@ -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 |
