From 1971f8fd62098eaab3c9597c670d8929efd9e710 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 18 Jul 2018 17:58:46 -0400 Subject: [PATCH] Restore highlight after warning message --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 32e916d..b191a98 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2756,7 +2756,7 @@ function! fugitive#BufReadStatus() abort nnoremap a :let b:fugitive_display_format += 1exe fugitive#BufReadIndex() nnoremap i :let b:fugitive_display_format -= 1exe fugitive#BufReadIndex() nnoremap C :Gcommit:echohl WarningMsgecho ':Gstatus C is deprecated in favor of cc'echohl NONE - nnoremap cA :Gcommit --amend --reuse-message=HEAD:echohl WarningMsgecho ':Gstatus cA is deprecated in favor of ce' + nnoremap cA :Gcommit --amend --reuse-message=HEAD:echohl WarningMsgecho ':Gstatus cA is deprecated in favor of ce'echohl NONE nnoremap ca :Gcommit --amend nnoremap cc :Gcommit nnoremap ce :Gcommit --amend --no-edit