mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-08 13:05:21 +08:00
Support older Vim without 'fileignorecase'
This commit is contained in:
1 parent
ca727b07f1
commit
b5b2548a87
1 file changed
+1
-1
+1
-1
@@ -558,7 +558,7 @@ function! s:buffer_commit() dict abort
|
||||
endfunction
|
||||
|
||||
function! s:cpath(path) abort
|
||||
if &fileignorecase
|
||||
if exists('+fileignorecase') ? &fileignorecase : &wildignorecase
|
||||
return tolower(a:path)
|
||||
else
|
||||
return a:path
|
||||
|
||||
Reference in new issue
Block a user