mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-19 23:09:58 +08:00
Don't echom if not in normal mode (#4560)
This commit is contained in:
@@ -12,8 +12,10 @@ let s:cursor_timer = -1
|
|||||||
|
|
||||||
" A wrapper for echon so we can test messages we echo in Vader tests.
|
" A wrapper for echon so we can test messages we echo in Vader tests.
|
||||||
function! ale#cursor#Echom(message) abort
|
function! ale#cursor#Echom(message) abort
|
||||||
" no-custom-checks
|
if mode() is# 'n'
|
||||||
exec "norm! :echom a:message\n"
|
" no-custom-checks
|
||||||
|
exec "norm! :echom a:message\n"
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! ale#cursor#TruncatedEcho(original_message) abort
|
function! ale#cursor#TruncatedEcho(original_message) abort
|
||||||
|
|||||||
Reference in New Issue
Block a user