File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -89,17 +89,17 @@ function! repeat#run(count)
89
89
let c = g: repeat_count
90
90
let s = g: repeat_sequence
91
91
let cnt = c == -1 ? " " : (a: count ? a: count : (c ? c : ' ' ))
92
- if (v: version > 703 || (v: version == 703 && has (' patch100 ' )))
92
+ if (( v: version == 703 && has ( ' patch100 ' )) || (v: version == 704 && ! has (' patch601 ' )))
93
93
exe ' norm ' . r . cnt . s
94
94
else
95
- call feedkeys (r . cnt, ' n ' )
96
- call feedkeys (s )
95
+ call feedkeys (r . cnt, ' ni ' )
96
+ call feedkeys (s , ' i ' )
97
97
endif
98
98
else
99
- if (v: version > 703 || (v: version == 703 && has (' patch100 ' )))
99
+ if (( v: version == 703 && has ( ' patch100 ' )) || (v: version == 704 && ! has (' patch601 ' )))
100
100
exe ' norm! ' .(a: count ? a: count : ' ' ) . ' .'
101
101
else
102
- call feedkeys ((a: count ? a: count : ' ' ) . ' .' , ' n ' )
102
+ call feedkeys ((a: count ? a: count : ' ' ) . ' .' , ' ni ' )
103
103
endif
104
104
endif
105
105
endfunction
You can’t perform that action at this time.
0 commit comments