Merge pull request #46 from wellle/45-fix-feedkeys-count

Revert order of feedkeys calls to fix counts
This commit is contained in:
Tim Pope 2015-04-03 10:30:37 -04:00
commit c4f9f159e6

View File

@ -92,8 +92,8 @@ function! repeat#run(count)
if ((v:version == 703 && has('patch100')) || (v:version == 704 && !has('patch601')))
exe 'norm ' . r . cnt . s
else
call feedkeys(r . cnt, 'ni')
call feedkeys(s, 'i')
call feedkeys(r . cnt, 'ni')
endif
else
if ((v:version == 703 && has('patch100')) || (v:version == 704 && !has('patch601')))