From f8bbf6e991d6a5d9768715c0cc915875bc9d9bc9 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 29 Sep 2020 01:31:17 +0200 Subject: grappele#Recall(): Remove special handling for visual mode Now that this is an `` mapping, we don't need any special handling for visual mode as this will be taken care of automatically. Remove the `mode` argument as it's no longer used. --- plugin/grappele.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin') diff --git a/plugin/grappele.vim b/plugin/grappele.vim index 5b6a046..fe531af 100644 --- a/plugin/grappele.vim +++ b/plugin/grappele.vim @@ -4,8 +4,8 @@ endif let g:loaded_grappele = 1 -nnoremap GrappeleRecall grappele#Recall('n') -vnoremap GrappeleRecall grappele#Recall('v') +nnoremap GrappeleRecall grappele#Recall() +vnoremap GrappeleRecall grappele#Recall() onoremap GrappeleRecall grappele#ORecall() if !maparg('G', 'n') -- cgit v1.2.3