nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 5d564fdbcf83701900837a9bf6629d7159c9fd1d
parent 8184b964bc63a12d461287f55298c67a4cd579d4
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Wed, 16 Jul 2008 18:23:17 +1200

bugfix for the mouse handling function

previously the mouse handling function was not passing the needed
argument to the ActivateNode function

Diffstat:
Mplugin/NERD_tree.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -2945,14 +2945,14 @@ function! s:CheckForActivate()
         if currentNode.path.isDirectory
             let reg = '^' . s:tree_markup_reg .'*[~+]$'
             if startToCur =~ reg
-                call s:ActivateNode()
+                call s:ActivateNode(0)
                 return
             endif
         endif
 
         if (g:NERDTreeMouseMode == 2 && currentNode.path.isDirectory) || g:NERDTreeMouseMode == 3
             if char !~ s:tree_markup_reg && startToCur !~ '\/$'
-                call s:ActivateNode()
+                call s:ActivateNode(0)
                 return
             endif
         endif