From aca917b4ca18f21f81ae104038cd2eacd505c5ea Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Wed, 4 Jan 2012 00:13:38 +0000 Subject: [PATCH] make a small fix for the left mouse button --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 2e61316..0585a65 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -3876,7 +3876,7 @@ function! s:handleLeftClick() if (g:NERDTreeMouseMode ==# 2 && currentNode.path.isDirectory) || g:NERDTreeMouseMode ==# 3 let char = strpart(startToCur, strlen(startToCur)-1, 1) if char !~# s:tree_markup_reg - call s:activateAll() + call s:activateNode(currentNode) return endif endif