From e453825aa5c702b22faa7acb0b1226e60a539d59 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Tue, 7 Jun 2016 10:39:58 -0400 Subject: vim-patch:38a5563 Update runtime files. https://github.com/vim/vim/commit/38a55639d603823efcf2d2fdf542dbffdeb60b75 Ignore changes to * doc/channel.txt, doc/eval.txt, doc/various.txt: Channel related docs * doc/tags: Generated at build time * doc/todo.txt, doc/vi_diff.txt: Not relevant to neovim --- runtime/plugin/matchparen.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/plugin') 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 -" 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 -- cgit