diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 4690560..0332f24 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -558,7 +558,7 @@ function! s:buffer_commit() dict abort endfunction function! s:cpath(path) abort - if exists('+fileignorecase') ? &fileignorecase : &wildignorecase + if exists('+fileignorecase') && &fileignorecase return tolower(a:path) else return a:path