parent
06c9d9c963
commit
aef6baf6e2
@ -95,7 +95,7 @@ endfunction
|
|||||||
"FUNCTION: s:customOpenBookmark() {{{1
|
"FUNCTION: s:customOpenBookmark() {{{1
|
||||||
" Open bookmark node with the "custom" key, initially <CR>.
|
" Open bookmark node with the "custom" key, initially <CR>.
|
||||||
function! s:customOpenBookmark(node)
|
function! s:customOpenBookmark(node)
|
||||||
if node.isDirectory
|
if a:node.path.isDirectory
|
||||||
call a:node.activate(b:NERDTree, s:initCustomOpenArgs().dir)
|
call a:node.activate(b:NERDTree, s:initCustomOpenArgs().dir)
|
||||||
else
|
else
|
||||||
call a:node.activate(b:NERDTree, s:initCustomOpenArgs().file)
|
call a:node.activate(b:NERDTree, s:initCustomOpenArgs().file)
|
||||||
|
Loading…
Reference in New Issue
Block a user