Use the case-insensitive regex
This commit is contained in:
parent
c0d87db309
commit
a053179d6a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user