Remove an unused argument
This commit is contained in:
parent
ff793c6629
commit
ccefe1ae84
@ -1,3 +1,4 @@
|
||||
scriptencoding utf-8
|
||||
" EasyMotion - Vim motions on speed!
|
||||
"
|
||||
" Author: Kim Silkebækken <kim.silkebaekken+vim@gmail.com>
|
||||
@ -5,7 +6,6 @@
|
||||
" Source: https://github.com/Lokaltog/vim-easymotion
|
||||
"=============================================================================
|
||||
" Saving 'cpoptions' {{{
|
||||
scriptencoding utf-8
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
" }}}
|
||||
@ -286,7 +286,7 @@ function! EasyMotion#Repeat(visualmode) " {{{
|
||||
call s:EasyMotion(re, direction, a:visualmode ? visualmode() : '', is_inclusive)
|
||||
return s:EasyMotion_is_cancelled
|
||||
endfunction " }}}
|
||||
function! EasyMotion#DotRepeat(visualmode) " {{{
|
||||
function! EasyMotion#DotRepeat() " {{{
|
||||
let cnt = v:count1 " avoid overwriting
|
||||
|
||||
" Repeat previous '.' motion with previous targets and operator
|
||||
|
@ -234,9 +234,7 @@ xnoremap <silent><Plug>(easymotion-repeat)
|
||||
\ <Esc>:<C-u>call EasyMotion#Repeat(1)<CR>
|
||||
|
||||
noremap <silent><Plug>(easymotion-dotrepeat)
|
||||
\ :<C-u>call EasyMotion#DotRepeat(0)<CR>
|
||||
xnoremap <silent><Plug>(easymotion-dotrepeat)
|
||||
\ <Esc>:<C-u>call EasyMotion#DotRepeat(1)<CR>
|
||||
\ :<C-u>call EasyMotion#DotRepeat()<CR>
|
||||
"}}}
|
||||
|
||||
" -- Next,Previous Motion {{{
|
||||
|
@ -367,11 +367,11 @@ describe 'Default settings'
|
||||
Expect maparg('<Plug>(easymotion-repeat)', 'v')
|
||||
\ ==# '<Esc>:<C-U>call EasyMotion#Repeat(1)<CR>'
|
||||
Expect maparg('<Plug>(easymotion-dotrepeat)', 'n')
|
||||
\ ==# ':<C-U>call EasyMotion#DotRepeat(0)<CR>'
|
||||
\ ==# ':<C-U>call EasyMotion#DotRepeat()<CR>'
|
||||
Expect maparg('<Plug>(easymotion-dotrepeat)', 'o')
|
||||
\ ==# ':<C-U>call EasyMotion#DotRepeat(0)<CR>'
|
||||
\ ==# ':<C-U>call EasyMotion#DotRepeat()<CR>'
|
||||
Expect maparg('<Plug>(easymotion-dotrepeat)', 'v')
|
||||
\ ==# '<Esc>:<C-U>call EasyMotion#DotRepeat(1)<CR>'
|
||||
\ ==# ':<C-U>call EasyMotion#DotRepeat()<CR>'
|
||||
" }}}
|
||||
|
||||
" Next, Previous motion {{{
|
||||
|
Loading…
x
Reference in New Issue
Block a user