diff options
| author | Teddy Wing | 2020-09-29 01:12:15 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2020-09-29 01:28:24 +0200 | 
| commit | 47a6ae90ca533f32576c88b21b988d92d33f865c (patch) | |
| tree | 392fb0716e8625bc3c27dccc43b04f090b4544c2 /plugin | |
| parent | b39b957b700e98035dd8aa7608feab71d6181c95 (diff) | |
| download | vim-grappele-47a6ae90ca533f32576c88b21b988d92d33f865c.tar.bz2 | |
grappele#Grappele(): Remove varargs
This function no longer needs any extra arguments.
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/grappele.vim | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/plugin/grappele.vim b/plugin/grappele.vim index f85b2b4..97b81e7 100644 --- a/plugin/grappele.vim +++ b/plugin/grappele.vim @@ -10,16 +10,15 @@ vnoremap <silent> <expr> <Plug>GrappeleRecall grappele#Recall('v')  onoremap <silent> <expr> <Plug>GrappeleRecall grappele#ORecall()  if !hasmapto('<Plug>Grappele') || !maparg('G', 'n') -	nnoremap <silent> <expr> G grappele#Grappele(v:count, 'n') +	nnoremap <silent> <expr> G grappele#Grappele(v:count)  endif  if !hasmapto('<Plug>Grappele') || !maparg('G', 'v') -	vnoremap <silent> <expr> G -		\ grappele#Grappele(v:count, 'v', visualmode()) +	vnoremap <silent> <expr> G grappele#Grappele(v:count)  endif  if !hasmapto('<Plug>Grappele') || !maparg('G', 'o') -	onoremap <silent> <expr> G grappele#Grappele(v:count, 'o') +	onoremap <silent> <expr> G grappele#Grappele(v:count)  endif  if !hasmapto('<Plug>GrappeleRecall') || !maparg('gG', 'n') | 
