bugfix to s:GetNodeForMark()
This commit is contained in:
parent
332756282a
commit
5cafc7018d
@ -1358,7 +1358,7 @@ function! s:GetNodeForMark(name)
|
|||||||
if empty(targetNode)
|
if empty(targetNode)
|
||||||
throw "NERDTree.MarkNotFound no node was found for mark: " . a:name
|
throw "NERDTree.MarkNotFound no node was found for mark: " . a:name
|
||||||
endif
|
endif
|
||||||
call s:PutCursorOnNode(targetNode, 0, 1)
|
return targetNode
|
||||||
endfunction
|
endfunction
|
||||||
"FUNCTION: s:InitNerdTree(dir) {{{2
|
"FUNCTION: s:InitNerdTree(dir) {{{2
|
||||||
"Initialized the NERD tree, where the root will be initialized with the given
|
"Initialized the NERD tree, where the root will be initialized with the given
|
||||||
|
Loading…
x
Reference in New Issue
Block a user