commit 737ad5874077c1ab0377c805de141a244f7e1588
parent a856622f0cc38223b5147531394829a8456ec566
Author: Martin Grenfell <martin_grenfell@msn.com>
Date: Thu, 19 Jun 2008 21:37:31 +1200
use :echomsg instead of just :echo
this is so that the messages get recorded in message history and can be
view with :messages
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -1826,7 +1826,7 @@ endfunction
"msg: the message to echo
function! s:Echo(msg)
redraw
- echo "NERDTree: " . a:msg
+ echomsg "NERDTree: " . a:msg
endfunction
"FUNCTION: s:EchoWarning {{{2
"Wrapper for s:Echo, sets the message type to warningmsg for this message