From 7c4a90614792cf4b74e0f3386cc6b14046419312 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 1 Jul 2015 10:55:35 -0400 Subject: [PATCH] Support Vim without 'wildignorecase' Closes #659. --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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