mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 06:13:51 -05:00
Support older Vim without 'fileignorecase'
This commit is contained in:
@@ -558,7 +558,7 @@ function! s:buffer_commit() dict abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:cpath(path) abort
|
function! s:cpath(path) abort
|
||||||
if &fileignorecase
|
if exists('+fileignorecase') ? &fileignorecase : &wildignorecase
|
||||||
return tolower(a:path)
|
return tolower(a:path)
|
||||||
else
|
else
|
||||||
return a:path
|
return a:path
|
||||||
|
|||||||
Reference in New Issue
Block a user