use :echomsg instead of just :echo
this is so that the messages get recorded in message history and can be view with :messages
This commit is contained in:
parent
a856622f0c
commit
737ad58740
@ -1826,7 +1826,7 @@ endfunction
|
|||||||
"msg: the message to echo
|
"msg: the message to echo
|
||||||
function! s:Echo(msg)
|
function! s:Echo(msg)
|
||||||
redraw
|
redraw
|
||||||
echo "NERDTree: " . a:msg
|
echomsg "NERDTree: " . a:msg
|
||||||
endfunction
|
endfunction
|
||||||
"FUNCTION: s:EchoWarning {{{2
|
"FUNCTION: s:EchoWarning {{{2
|
||||||
"Wrapper for s:Echo, sets the message type to warningmsg for this message
|
"Wrapper for s:Echo, sets the message type to warningmsg for this message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user