Added global variables for changing default arrows

g:NERDTreeDirArrowExpandable
g:NERDTreeDirArrowCollapsable
This commit is contained in:
Igor Tatarintsev
2015-09-11 23:52:37 +06:00
parent 188bd92658
commit dc29ec2db3
6 changed files with 10 additions and 10 deletions

View File

@@ -312,7 +312,7 @@ function! s:handleLeftClick()
endfor
if currentNode.path.isDirectory
if startToCur =~# g:NERDTreeUI.MarkupReg() && startToCur =~# '[+~'.g:NERDTreeDirArrowExpandable.g:NERDTreeDirArrowCollapsable.'] \?$'
if startToCur =~# g:NERDTreeUI.MarkupReg() && startToCur =~# '[+~'.g:NERDTreeDirArrowExpandable.g:NERDTreeDirArrowCollapsible.'] \?$'
call currentNode.activate()
return
endif