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).
This commit is contained in:
parent
bfa5de8c55
commit
30bfb6e6b7
@ -2123,7 +2123,7 @@ function! s:OpenFileNode(treenode)
|
|||||||
else
|
else
|
||||||
try
|
try
|
||||||
wincmd p
|
wincmd p
|
||||||
silent exec ("edit " . a:treenode.path.StrForEditCmd())
|
exec ("edit " . a:treenode.path.StrForEditCmd())
|
||||||
catch /^Vim\%((\a\+)\)\=:E37/
|
catch /^Vim\%((\a\+)\)\=:E37/
|
||||||
call s:PutCursorInTreeWin()
|
call s:PutCursorInTreeWin()
|
||||||
call s:Echo("Cannot open file, it is already open and modified")
|
call s:Echo("Cannot open file, it is already open and modified")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user