mirror of
https://github.com/preservim/nerdtree.git
synced 2025-02-12 23:21:44 +08:00
remove a rogue call to s:putCursorInTreeWin()
This commit is contained in:
parent
f2707106bd
commit
f8a105d972
|
@ -789,8 +789,6 @@ function! s:TreeFileNode.open()
|
|||
return
|
||||
endif
|
||||
|
||||
call s:putCursorInTreeWin()
|
||||
|
||||
"if the file is already open in this tab then just stick the cursor in it
|
||||
let winnr = bufwinnr('^' . self.path.strForOS(0) . '$')
|
||||
if winnr != -1
|
||||
|
|
Loading…
Reference in New Issue
Block a user