mirror of
https://github.com/tpope/vim-repeat.git
synced 2026-09-10 07:16:26 -04:00
Merge pull request #46 from wellle/45-fix-feedkeys-count
Revert order of feedkeys calls to fix counts
This commit is contained in:
commit
c4f9f159e6
|
|
@ -92,8 +92,8 @@ function! repeat#run(count)
|
||||||
if ((v:version == 703 && has('patch100')) || (v:version == 704 && !has('patch601')))
|
if ((v:version == 703 && has('patch100')) || (v:version == 704 && !has('patch601')))
|
||||||
exe 'norm ' . r . cnt . s
|
exe 'norm ' . r . cnt . s
|
||||||
else
|
else
|
||||||
call feedkeys(r . cnt, 'ni')
|
|
||||||
call feedkeys(s, 'i')
|
call feedkeys(s, 'i')
|
||||||
|
call feedkeys(r . cnt, 'ni')
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
if ((v:version == 703 && has('patch100')) || (v:version == 704 && !has('patch601')))
|
if ((v:version == 703 && has('patch100')) || (v:version == 704 && !has('patch601')))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue