mirror of
https://github.com/preservim/nerdtree.git
synced 2025-02-13 01:54:59 +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
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call s:putCursorInTreeWin()
|
|
||||||
|
|
||||||
"if the file is already open in this tab then just stick the cursor in it
|
"if the file is already open in this tab then just stick the cursor in it
|
||||||
let winnr = bufwinnr('^' . self.path.strForOS(0) . '$')
|
let winnr = bufwinnr('^' . self.path.strForOS(0) . '$')
|
||||||
if winnr != -1
|
if winnr != -1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user