Remove second "edit" from Opener
This commit is contained in:
parent
2a0578227e
commit
ff0816979c
@ -2088,7 +2088,6 @@ function! s:Opener._previousWindow()
|
|||||||
else
|
else
|
||||||
call s:exec('wincmd p')
|
call s:exec('wincmd p')
|
||||||
endif
|
endif
|
||||||
exec ("edit " . self._path.str({'format': 'Edit'}))
|
|
||||||
catch /^Vim\%((\a\+)\)\=:E37/
|
catch /^Vim\%((\a\+)\)\=:E37/
|
||||||
call s:putCursorInTreeWin()
|
call s:putCursorInTreeWin()
|
||||||
throw "NERDTree.FileAlreadyOpenAndModifiedError: ". self._path.str() ." is already open and modified."
|
throw "NERDTree.FileAlreadyOpenAndModifiedError: ". self._path.str() ." is already open and modified."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user