From 8cd20303ca731cb420e2556ee76bb499ab2479f2 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 25 Aug 2011 20:24:01 -0400 Subject: [PATCH] Escape ! in :Gblame filename --- plugin/fugitive.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index b3f64ab..31b31f3 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -399,10 +399,8 @@ function! s:buffer_type(...) dict abort let type = 'directory' elseif self.spec() == '' let type = 'null' - elseif filereadable(self.spec()) - let type = 'file' else - let type = '' + let type = 'file' endif if a:0 return !empty(filter(copy(a:000),'v:val ==# type'))