commit 30bfb6e6b7ea150333ad8e48c08f5ace64a1594e
parent bfa5de8c55f5a093bea33d92cb342ed168ad4539
Author: Martin Grenfell <martin_grenfell@msn.com>
Date: Sun, 22 Jun 2008 12:42:52 +1200
Revert "be silent when opening files"
This reverts commit 6334e991929c143db3d6abfe23a345cacfc9ff1a.
Opening files silently causes vim to hang if the file is already open by
another vim instance (it tries to print out the swap file
message/options but it cant).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -2123,7 +2123,7 @@ function! s:OpenFileNode(treenode)
else
try
wincmd p
- silent exec ("edit " . a:treenode.path.StrForEditCmd())
+ exec ("edit " . a:treenode.path.StrForEditCmd())
catch /^Vim\%((\a\+)\)\=:E37/
call s:PutCursorInTreeWin()
call s:Echo("Cannot open file, it is already open and modified")