mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
Use the case-insensitive regex
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user