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