From 006694e0f5f11d5c1f7be586944048a3887bb42d Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 19 Jan 2015 17:09:05 -0500 Subject: [PATCH] Fix condition for Vim <= 7.3 --- autoload/repeat.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/repeat.vim b/autoload/repeat.vim index c1e671d..f4d10cd 100644 --- a/autoload/repeat.vim +++ b/autoload/repeat.vim @@ -91,14 +91,14 @@ function! repeat#run(count) let cnt = c == -1 ? "" : (a:count ? a:count : (c ? c : '')) if (v:version > 703 || (v:version == 703 && has('patch100'))) exe 'norm ' . r . cnt . s - elseif + else call feedkeys(r . cnt, 'n') call feedkeys(s) endif else if (v:version > 703 || (v:version == 703 && has('patch100'))) exe 'norm! '.(a:count ? a:count : '') . '.' - elseif + else call feedkeys((a:count ? a:count : '') . '.', 'n') endif endif