aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/grappele.vim
diff options
context:
space:
mode:
authorTeddy Wing2020-09-29 01:31:17 +0200
committerTeddy Wing2020-09-29 01:34:07 +0200
commitf8bbf6e991d6a5d9768715c0cc915875bc9d9bc9 (patch)
treebf7bce33805b8e3f07381d517b32470c7eb1b730 /plugin/grappele.vim
parent145c155e419fdcc73129771d8fbb3c32a77295a8 (diff)
downloadvim-grappele-f8bbf6e991d6a5d9768715c0cc915875bc9d9bc9.tar.bz2
grappele#Recall(): Remove special handling for visual mode
Now that this is an `<expr>` 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.
Diffstat (limited to 'plugin/grappele.vim')
-rw-r--r--plugin/grappele.vim4
1 files changed, 2 insertions, 2 deletions
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 <silent> <expr> <Plug>GrappeleRecall grappele#Recall('n')
-vnoremap <silent> <expr> <Plug>GrappeleRecall grappele#Recall('v')
+nnoremap <silent> <expr> <Plug>GrappeleRecall grappele#Recall()
+vnoremap <silent> <expr> <Plug>GrappeleRecall grappele#Recall()
onoremap <silent> <expr> <Plug>GrappeleRecall grappele#ORecall()
if !maparg('G', 'n')