From 2895883154f4bbf9394e89acb3a86ee75255231b Mon Sep 17 00:00:00 2001 From: David Barnett Date: Sat, 16 Apr 2016 17:33:36 -0700 Subject: vim-patch:fc39ec Update runtime files. https://github.com/vim/vim/commit/fc39ecf8ded5466d7e9cbde8db75517718b023d8 --- runtime/plugin/matchit.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/plugin') 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. -- cgit