Permalink
Browse files

Escape ! in :Gblame filename

  • Loading branch information...
1 parent 11951a6 commit 8cd20303ca731cb420e2556ee76bb499ab2479f2 @tpope committed Aug 26, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 plugin/fugitive.vim
View
@@ -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'))

0 comments on commit 8cd2030

Please sign in to comment.