nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 86e2e40af161e65a3ad671214f16f23af360a5a7
parent 96c07746b46c12d0aca7a5276cc5bd0a260b82fe
Author: Martin Grenfell <martin.grenfell@gmail.com>
Date:   Mon, 13 Jul 2015 09:30:58 +0100

Merge pull request #466 from toiffel/master

Fixed case-sensitive sorting of tree nodes when 'ignorecase' option is on
Diffstat:
Mautoload/nerdtree.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/autoload/nerdtree.vim b/autoload/nerdtree.vim
@@ -36,9 +36,9 @@ endfunction
 
 "FUNCTION: nerdtree#compareNodesBySortKey(n1, n2) {{{2
 function! nerdtree#compareNodesBySortKey(n1, n2)
-    if a:n1.path.getSortKey() < a:n2.path.getSortKey()
+    if a:n1.path.getSortKey() <# a:n2.path.getSortKey()
         return -1
-    elseif a:n1.path.getSortKey() > a:n2.path.getSortKey()
+    elseif a:n1.path.getSortKey() ># a:n2.path.getSortKey()
         return 1
     else
         return 0