aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/matchit.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-04-17 18:44:25 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-04-17 18:44:25 -0400
commitaae7e8b7dd0123a75076fa1a2dc4fc9e2635738e (patch)
tree4d26bbdf87bd9b3fc56990a1aac4f9b537052450 /runtime/plugin/matchit.vim
parentcc1beecf8149c2eed6e01b415817038609ead123 (diff)
parent2895883154f4bbf9394e89acb3a86ee75255231b (diff)
downloadrneovim-aae7e8b7dd0123a75076fa1a2dc4fc9e2635738e.tar.gz
rneovim-aae7e8b7dd0123a75076fa1a2dc4fc9e2635738e.tar.bz2
rneovim-aae7e8b7dd0123a75076fa1a2dc4fc9e2635738e.zip
Merge pull request #4585 from dbarnett/vim-fc39ec
vim-patch:fc39ec
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.