From 801b0417a50f873e5938b6bbfe9bd8430d64c0ff Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 11 Feb 2024 21:30:36 -0500 Subject: [PATCH] Fix shortened :call command --- autoload/fugitive.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()