diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 6fb4547..fc354d6 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -8347,8 +8347,8 @@ function! fugitive#Foldtext() abort elseif &filetype ==# 'gitcommit' && line_foldstart =~# '^# .*:$' let lines = getline(v:foldstart, v:foldend) call filter(lines, 'v:val =~# "^#\t"') - cal map(lines, "s:sub(v:val, '^#\t%(modified: +|renamed: +)=', '')") - cal map(lines, "s:sub(v:val, '^([[:alpha:] ]+): +(.*)', '\\2 (\\1)')") + call map(lines, "s:sub(v:val, '^#\t%(modified: +|renamed: +)=', '')") + call map(lines, "s:sub(v:val, '^([[:alpha:] ]+): +(.*)', '\\2 (\\1)')") return line_foldstart.' '.join(lines, ', ') endif return foldtext()