diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-08-11 20:34:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-08-11 20:34:49 +0200 |
commit | fc39ecf8ded5466d7e9cbde8db75517718b023d8 (patch) | |
tree | 1c2c095ba1c61e9f6241fa999f09f92c79f71968 /runtime/macros | |
parent | 25c2f6783a9d5f15e062bd5b085abe7deb121152 (diff) | |
download | vim-git-fc39ecf8ded5466d7e9cbde8db75517718b023d8.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/macros')
-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. |