aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/matchit.vim
diff options
context:
space:
mode:
authorDavid Barnett <davidbarnett2@gmail.com>2016-04-16 17:33:36 -0700
committerDavid Barnett <davidbarnett2@gmail.com>2016-04-16 23:06:24 -0700
commit2895883154f4bbf9394e89acb3a86ee75255231b (patch)
treee9be355704f076dab40ba050afbeabc6633f3365 /runtime/plugin/matchit.vim
parenta7a3605c0f2548a614d51d8796d874cb0d2092e5 (diff)
downloadrneovim-2895883154f4bbf9394e89acb3a86ee75255231b.tar.gz
rneovim-2895883154f4bbf9394e89acb3a86ee75255231b.tar.bz2
rneovim-2895883154f4bbf9394e89acb3a86ee75255231b.zip
vim-patch:fc39ec
Update runtime files. https://github.com/vim/vim/commit/fc39ecf8ded5466d7e9cbde8db75517718b023d8
Diffstat (limited to 'runtime/plugin/matchit.vim')
-rw-r--r--runtime/plugin/matchit.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/plugin/matchit.vim b/runtime/plugin/matchit.vim
index 74c1a1eb92..70867b1f93 100644
--- a/runtime/plugin/matchit.vim
+++ b/runtime/plugin/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.