nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit a053179d6afe9c9272eb44f3d9ed9f2fe21703aa
parent c0d87db309d2ba74230c9f1a2e64be1aa2c51c58
Author: Bubba <rob@stechstudio.com>
Date:   Fri, 15 Jun 2018 11:29:09 -0400

Use the case-insensitive regex

Diffstat:
Mnerdtree_plugin/fs_menu.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nerdtree_plugin/fs_menu.vim b/nerdtree_plugin/fs_menu.vim
@@ -228,7 +228,7 @@ function! NERDTreeListNode()
         if has("unix")
             let s:uname = system("uname")
             let stat_cmd = 'stat -c "%s" ' 
-            if s:uname == "Darwin\n"
+            if s:uname =~? "Darwin"
                 let stat_cmd = 'stat -f "%z" '
             endif
         endif