• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisionddfb6f3f3b2be6e5397db2601f392c45f4a05b84 (tree)
Time2006-05-13 21:48:30
Authorvimboss
Commitervimboss

Log Message

updated for version 7.0-012

Change Summary

Incremental Difference

diff -r 2548cf0a5f62 -r ddfb6f3f3b2b runtime/plugin/matchparen.vim
--- a/runtime/plugin/matchparen.vim Sat May 13 12:37:50 2006 +0000
+++ b/runtime/plugin/matchparen.vim Sat May 13 12:48:30 2006 +0000
@@ -1,6 +1,6 @@
11 " Vim plugin for showing matching parens
22 " Maintainer: Bram Moolenaar <Bram@vim.org>
3-" Last Change: 2006 Apr 27
3+" Last Change: 2006 May 11
44
55 " Exit quickly when:
66 " - this plugin was already loaded (or disabled)
@@ -90,7 +90,7 @@
9090 " Find the match. When it was just before the cursor move it there for a
9191 " moment.
9292 if before > 0
93- let save_cursor = getpos('.')
93+ let save_cursor = winsaveview()
9494 call cursor(c_lnum, c_col - before)
9595 endif
9696
@@ -102,7 +102,7 @@
102102 let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline)
103103
104104 if before > 0
105- call setpos('.', save_cursor)
105+ call winrestview(save_cursor)
106106 endif
107107
108108 " If a match is found setup match highlighting.
diff -r 2548cf0a5f62 -r ddfb6f3f3b2b src/version.c
--- a/src/version.c Sat May 13 12:37:50 2006 +0000
+++ b/src/version.c Sat May 13 12:48:30 2006 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 12,
671+/**/
670672 11,
671673 /**/
672674 10,
Show on old repository browser