From 737ad5874077c1ab0377c805de141a244f7e1588 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Thu, 19 Jun 2008 21:37:31 +1200 Subject: [PATCH] use :echomsg instead of just :echo this is so that the messages get recorded in message history and can be view with :messages --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 1730945..d54fa7d 100644 --- 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