now clears command line if mode is not command line

This commit is contained in:
kdav5758
2021-07-01 19:12:33 -05:00
parent dbaf4784e7
commit 742f44750f
+1 -1
View File
@@ -17,7 +17,7 @@ api.nvim_exec(
api.nvim_exec( api.nvim_exec(
[[ [[
function! g:AutoSaveClearCommandLine(timer) function! g:AutoSaveClearCommandLine(timer)
if mode() ==# 'n' if mode() != 'c'
echon '' echon ''
endif endif
endfunction endfunction