mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-26 18:30:45 +08:00
Remove second "edit" from Opener
This commit is contained in:
parent
2a0578227e
commit
ff0816979c
|
@ -2088,7 +2088,6 @@ function! s:Opener._previousWindow()
|
|||
else
|
||||
call s:exec('wincmd p')
|
||||
endif
|
||||
exec ("edit " . self._path.str({'format': 'Edit'}))
|
||||
catch /^Vim\%((\a\+)\)\=:E37/
|
||||
call s:putCursorInTreeWin()
|
||||
throw "NERDTree.FileAlreadyOpenAndModifiedError: ". self._path.str() ." is already open and modified."
|
||||
|
|
Loading…
Reference in New Issue
Block a user