From b5b2548a871e127ed9f58034fcf3754157dfa364 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 30 Jun 2015 20:39:54 -0400 Subject: [PATCH] Support older Vim without 'fileignorecase' --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 34a965e..4690560 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 &fileignorecase + if exists('+fileignorecase') ? &fileignorecase : &wildignorecase return tolower(a:path) else return a:path