summaryrefslogtreecommitdiffstats
path: root/runtime/plugin/matchparen.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-15 22:07:32 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-15 22:07:32 +0100
commit38a55639d603823efcf2d2fdf542dbffdeb60b75 (patch)
treecaf0a634ab061f45cb038e1ef179eab58ac6b902 /runtime/plugin/matchparen.vim
parentd807036d10615b960c814ef3890ecad335b57f56 (diff)
Update runtime files.
Diffstat (limited to 'runtime/plugin/matchparen.vim')
-rw-r--r--runtime/plugin/matchparen.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/plugin/matchparen.vim b/runtime/plugin/matchparen.vim
index 873302efee..5929cf371a 100644
--- a/runtime/plugin/matchparen.vim
+++ b/runtime/plugin/matchparen.vim
@@ -1,6 +1,6 @@
" Vim plugin for showing matching parens
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2015 Dec 31
+" Last Change: 2016 Feb 09
" Exit quickly when:
" - this plugin was already loaded (or disabled)
@@ -97,6 +97,7 @@ function! s:Highlight_Matching_Pair()
if has_getcurpos
" getcurpos() is more efficient but doesn't exist before 7.4.313.
let save_cursor = getcurpos()
+let g:saved_cursor = save_cursor
else
let save_cursor = winsaveview()
endif