From 62f42f013d866139fa23068ac2651b3f7e05a56f Mon Sep 17 00:00:00 2001 From: Ben Morgan Date: Thu, 9 Feb 2023 22:20:41 +0100 Subject: [PATCH] Fix Gdelete error message --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index a97a477..9bc237f 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -607,7 +607,7 @@ if exists(':Gdelete') != 2 && get(g:, 'fugitive_legacy_commands', 0) exe 'command! -bar -bang -nargs=0 Gdelete exe fugitive#DeleteCommand(, , +"", 0, "", )' \ '|echohl WarningMSG|echomsg ":Gdelete is deprecated in favor of :GDelete"|echohl NONE' elseif exists(':Gdelete') != 2 && !exists('g:fugitive_legacy_commands') - exe 'command! -bar -bang -nargs=0 Gdelete echoerr ":Gremove has been removed in favor of :GRemove"' + exe 'command! -bar -bang -nargs=0 Gdelete echoerr ":Gdelete has been removed in favor of :GDelete"' endif if exists(':Gmove') != 2 && get(g:, 'fugitive_legacy_commands', 0) exe 'command! -bar -bang -nargs=1 -complete=customlist,fugitive#CompleteObject Gmove exe fugitive#MoveCommand( , , +"", 0, "", )'