From a053179d6afe9c9272eb44f3d9ed9f2fe21703aa Mon Sep 17 00:00:00 2001 From: Bubba Date: Fri, 15 Jun 2018 11:29:09 -0400 Subject: [PATCH] Use the case-insensitive regex --- nerdtree_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 index 997c063..553b760 100644 --- 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