mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 21:33:53 -05:00
Escape ! in :Gblame filename
This commit is contained in:
@@ -399,10 +399,8 @@ function! s:buffer_type(...) dict abort
|
|||||||
let type = 'directory'
|
let type = 'directory'
|
||||||
elseif self.spec() == ''
|
elseif self.spec() == ''
|
||||||
let type = 'null'
|
let type = 'null'
|
||||||
elseif filereadable(self.spec())
|
|
||||||
let type = 'file'
|
|
||||||
else
|
else
|
||||||
let type = ''
|
let type = 'file'
|
||||||
endif
|
endif
|
||||||
if a:0
|
if a:0
|
||||||
return !empty(filter(copy(a:000),'v:val ==# type'))
|
return !empty(filter(copy(a:000),'v:val ==# type'))
|
||||||
|
|||||||
Reference in New Issue
Block a user