nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 93c9726c6d96289d6daa59bfb277dff68efa42ba
parent 96c07746b46c12d0aca7a5276cc5bd0a260b82fe
Author: toiffel <toiffel@inbox.ru>
Date:   Mon, 13 Jul 2015 03:03:14 +0600

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