nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit c726655d23af4b50a729eceae5e80a421316f1e4
parent bdfac3e25cd37ce757703c569f5abbcd70a2da83
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Fri, 30 Jan 2009 23:59:50 +1300

Compatibility syntax fix for screwy versions of vim

Diffstat:
Mplugin/NERD_tree.vim | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -3042,7 +3042,8 @@ function! s:activateNode(forceKeepWindowOpen)
                 call bookmark.toRoot()
             else
                 if bookmark.validate()
-                    call (s:TreeFileNode.New(bookmark.path)).open()
+                    let n = s:TreeFileNode.New(bookmark.path)
+                    call n.open()
                 endif
             endif
         endif