Fix '.' repeat with count and trivial

This commit is contained in:
haya14busa 2014-01-18 01:02:37 +09:00
parent 3c562d9572
commit b624c9cec1
2 changed files with 2 additions and 2 deletions

View File

@ -322,8 +322,8 @@ function! EasyMotion#DotRepeat(visualmode) " {{{
let is_exclusive = s:previous.is_exclusive
let s:current.is_operator = 1
let s:flag.within_line = s:previous.line_flag
let s:flag.dot_repeat = 1
for cnt in range(v:count1)
let s:flag.dot_repeat = 1 " s:EasyMotion() always call reset
silent call s:EasyMotion(re, direction, 0, is_exclusive)
endfor
endfunction " }}}

View File

@ -919,7 +919,7 @@ describe 'g:EasyMotion_smartsign'
map T <Plug>(easymotion-T)
call EasyMotion#init()
call AddLine('poHe huga Hiyo hoyo: poyo();')
1234567890123456789012345678
" 1234567890123456789012345678
normal! gg0
let g:EasyMotion_smartcase = 1
let g:EasyMotion_use_smartsign_us = 1