From c726655d23af4b50a729eceae5e80a421316f1e4 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Fri, 30 Jan 2009 23:59:50 +1300 Subject: [PATCH] Compatibility syntax fix for screwy versions of vim --- plugin/NERD_tree.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 709328f..f397f3d 100644 --- 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