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:
Martin Grenfell 2008-06-19 21:37:31 +12:00
parent a856622f0c
commit 737ad58740

View File

@ -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