diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index c7b0777..581fe26 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2583,7 +2583,7 @@ endfunction function! s:Do(action, visual) abort let line = getline('.') let reload = 0 - if !a:0 && !v:count && line =~# '^[A-Z][a-z]' + if !a:visual && !v:count && line =~# '^[A-Z][a-z]' let header = matchstr(line, '^\S\+\ze:') if len(header) && exists('*s:Do' . a:action . header . 'Header') let reload = s:Do{a:action}{header}Header(matchstr(line, ': \zs.*')) > 0