please check. I checked this on older vim and newer repository.

diff -r febc041c984b runtime/plugin/matchparen.vim
--- a/runtime/plugin/matchparen.vim     Wed Jul 16 23:39:54 2014 +0200
+++ b/runtime/plugin/matchparen.vim     Tue Jul 22 11:19:54 2014 +0900
@@ -88,7 +88,7 @@
   " Find the match.  When it was just before the cursor move it there for a
   " moment.
   if before > 0
-    let save_cursor = getcurpos()
+    let save_view = winsaveview()
     call cursor(c_lnum, c_col - before)
   endif
 
@@ -148,7 +148,7 @@
   endtry
 
   if before > 0
-    call setpos('.', save_cursor)
+    call winrestview(save_view)
   endif
 
   " If a match is found setup match highlighting.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui