update the method comment for TreeDirNode.open

This commit is contained in:
Martin Grenfell 2012-01-09 16:30:06 +00:00
parent 5e53df769d
commit 6b7c9aa5c8

View File

@ -1663,13 +1663,7 @@ endfunction
"FUNCTION: TreeDirNode.open([opts]) {{{3
"Open the dir in the current tree or in a new tree elsewhere.
"
"Args:
"
"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
"
"If opening in the current tree, return the number of cached nodes.
unlet s:TreeDirNode.open
function! s:TreeDirNode.open(...)
let opts = a:0 ? a:1 : {}