diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-15 22:07:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-15 22:07:32 +0100 |
commit | 38a55639d603823efcf2d2fdf542dbffdeb60b75 (patch) | |
tree | caf0a634ab061f45cb038e1ef179eab58ac6b902 /runtime/plugin/matchparen.vim | |
parent | d807036d10615b960c814ef3890ecad335b57f56 (diff) |
Update runtime files.
Diffstat (limited to 'runtime/plugin/matchparen.vim')
-rw-r--r-- | runtime/plugin/matchparen.vim | 3 |
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 |