nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit aef6baf6e2513f43d8b789bdc087898c82608a5f
parent 06c9d9c963d0ffbbf3e49b4fe5dd209df2636db6
Author: Kebin Liu <lkebin@gmail.com>
Date:   Wed,  3 Jul 2019 23:11:25 +0800

Update ui_glue.vim (#1014)

Fix `<CR>` key map on the bookmark
Diffstat:
Mautoload/nerdtree/ui_glue.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/nerdtree/ui_glue.vim b/autoload/nerdtree/ui_glue.vim
@@ -95,7 +95,7 @@ endfunction
 "FUNCTION: s:customOpenBookmark() {{{1
 " Open bookmark node with the "custom" key, initially <CR>.
 function! s:customOpenBookmark(node)
-    if node.isDirectory
+    if a:node.path.isDirectory
         call a:node.activate(b:NERDTree, s:initCustomOpenArgs().dir)
     else
         call a:node.activate(b:NERDTree, s:initCustomOpenArgs().file)