mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
update the method comment for TreeDirNode.open
This commit is contained in:
@@ -1663,13 +1663,7 @@ endfunction
|
|||||||
"FUNCTION: TreeDirNode.open([opts]) {{{3
|
"FUNCTION: TreeDirNode.open([opts]) {{{3
|
||||||
"Open the dir in the current tree or in a new tree elsewhere.
|
"Open the dir in the current tree or in a new tree elsewhere.
|
||||||
"
|
"
|
||||||
"Args:
|
"If opening in the current tree, return the number of cached nodes.
|
||||||
"
|
|
||||||
"A dictionary containing the following keys (all optional):
|
|
||||||
" 'where': 't' if the tree should be opened in a new tab
|
|
||||||
" 'keepopen': dont close the tree window
|
|
||||||
" 'stay': open the file, but keep the cursor in the tree win
|
|
||||||
"
|
|
||||||
unlet s:TreeDirNode.open
|
unlet s:TreeDirNode.open
|
||||||
function! s:TreeDirNode.open(...)
|
function! s:TreeDirNode.open(...)
|
||||||
let opts = a:0 ? a:1 : {}
|
let opts = a:0 ? a:1 : {}
|
||||||
|
|||||||
Reference in New Issue
Block a user