diff options
Diffstat (limited to 'runtime/macros/matchit.vim')
-rw-r--r-- | runtime/macros/matchit.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/macros/matchit.vim b/runtime/macros/matchit.vim index 74c1a1eb9..70867b1f9 100644 --- a/runtime/macros/matchit.vim +++ b/runtime/macros/matchit.vim @@ -303,7 +303,7 @@ fun! s:CleanUp(options, mode, startline, startcol, ...) let regexp = s:Wholematch(matchline, a:1, currcol-1) let endcol = matchend(matchline, regexp) if endcol > currcol " This is NOT off by one! - execute "normal!" . (endcol - currcol) . "l" + call cursor(0, endcol) endif endif " a:0 endif " a:mode != "o" && etc. |