mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Remove long-standing deprecation warning.
This commit is contained in:
@@ -180,7 +180,6 @@ if g:gitgutter_map_keys
|
|||||||
endif
|
endif
|
||||||
if !hasmapto('<Plug>GitGutterUndoHunk') && maparg('<Leader>hu', 'n') ==# ''
|
if !hasmapto('<Plug>GitGutterUndoHunk') && maparg('<Leader>hu', 'n') ==# ''
|
||||||
nmap <Leader>hu <Plug>GitGutterUndoHunk
|
nmap <Leader>hu <Plug>GitGutterUndoHunk
|
||||||
nmap <Leader>hr <Plug>GitGutterUndoHunk:echomsg '<Leader>hr is deprecated. Use <Leader>hu'<CR>
|
|
||||||
endif
|
endif
|
||||||
if !hasmapto('<Plug>GitGutterPreviewHunk') && maparg('<Leader>hp', 'n') ==# ''
|
if !hasmapto('<Plug>GitGutterPreviewHunk') && maparg('<Leader>hp', 'n') ==# ''
|
||||||
nmap <Leader>hp <Plug>GitGutterPreviewHunk
|
nmap <Leader>hp <Plug>GitGutterPreviewHunk
|
||||||
|
|||||||
Reference in New Issue
Block a user