commit 5cafc7018d3b72f30164d4c98547eb93db27b8f6
parent 332756282a71d6743f811278fc553de52b591550
Author: Martin Grenfell <martin_grenfell@msn.com>
Date: Sat, 7 Jun 2008 14:37:39 +1200
bugfix to s:GetNodeForMark()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -1358,7 +1358,7 @@ function! s:GetNodeForMark(name)
if empty(targetNode)
throw "NERDTree.MarkNotFound no node was found for mark: " . a:name
endif
- call s:PutCursorOnNode(targetNode, 0, 1)
+ return targetNode
endfunction
"FUNCTION: s:InitNerdTree(dir) {{{2
"Initialized the NERD tree, where the root will be initialized with the given