4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: The matchparen plugin can't handle a 'matchpairs' value where a
13 Solution: Change the split() that is used to change 'matchpairs' into a
15 Files: runtime/plugin/matchparen.vim
18 *** ../vim-7.0.092/runtime/plugin/matchparen.vim Wed Sep 6 22:13:48 2006
19 --- runtime/plugin/matchparen.vim Sat Sep 9 13:35:54 2006
22 " Vim plugin for showing matching parens
23 " Maintainer: Bram Moolenaar <Bram@vim.org>
24 ! " Last Change: 2006 Jun 26
27 " - this plugin was already loaded (or disabled)
29 " Vim plugin for showing matching parens
30 " Maintainer: Bram Moolenaar <Bram@vim.org>
31 ! " Last Change: 2006 Sep 09
34 " - this plugin was already loaded (or disabled)
39 let c = getline(c_lnum)[c_col - 1]
40 ! let plist = split(&matchpairs, ':\|,')
41 let i = index(plist, c)
43 " not found, in Insert mode try character before the cursor
47 let c = getline(c_lnum)[c_col - 1]
48 ! let plist = split(&matchpairs, '.\zs[:,]')
49 let i = index(plist, c)
51 " not found, in Insert mode try character before the cursor
52 *** ../vim-7.0.092/src/version.c Sat Sep 9 12:05:39 2006
53 --- src/version.c Sat Sep 9 13:29:58 2006
57 { /* Add new patch number below this line */
63 BLACK KNIGHT: I move for no man.
66 [ARTHUR chops the BLACK KNIGHT's left arm off]
67 ARTHUR: Now stand aside, worthy adversary.
68 BLACK KNIGHT: 'Tis but a scratch.
69 The Quest for the Holy Grail (Monty Python)
71 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
72 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
73 \\\ download, build and distribute -- http://www.A-A-P.org ///
74 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///