From 18582f4986eb3c43f259b3f05ba2e1300833305c Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 5 Feb 2020 12:32:06 -0500 Subject: [PATCH] Remove deprecated C map to fix broken warning https://github.com/tpope/vim-fugitive/issues/1458 --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 9115976..ca92393 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1905,7 +1905,7 @@ function! fugitive#BufReadStatus() abort call s:MapMotion('gp', "exe StageJump(v:count, 'Unpushed')") call s:MapMotion('gP', "exe StageJump(v:count, 'Unpulled')") call s:MapMotion('gr', "exe StageJump(v:count, 'Rebasing')") - call s:Map('n', 'C', ":Gcommit:echohl WarningMsgecho ':Gstatus C is deprecated in favor of cc'echohl NONE", '') + call s:Map('n', 'C', ":echoerr ':Gstatus C has been removed in favor of cc'", '') call s:Map('n', 'a', ":execute Do('Toggle',0)", '') call s:Map('n', 'i', ":execute NextExpandedHunk(v:count1)", '') call s:Map('n', "=", ":execute StageInline('toggle',line('.'),v:count)", '')