]>
Commit | Line | Data |
---|---|---|
f3c378e8 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.093 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.0.093 | |
11 | Problem: The matchparen plugin can't handle a 'matchpairs' value where a | |
12 | colon is matched. | |
13 | Solution: Change the split() that is used to change 'matchpairs' into a | |
14 | List. | |
15 | Files: runtime/plugin/matchparen.vim | |
16 | ||
17 | ||
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 | |
20 | *************** | |
21 | *** 1,6 **** | |
22 | " Vim plugin for showing matching parens | |
23 | " Maintainer: Bram Moolenaar <Bram@vim.org> | |
24 | ! " Last Change: 2006 Jun 26 | |
25 | ||
26 | " Exit quickly when: | |
27 | " - this plugin was already loaded (or disabled) | |
28 | --- 1,6 ---- | |
29 | " Vim plugin for showing matching parens | |
30 | " Maintainer: Bram Moolenaar <Bram@vim.org> | |
31 | ! " Last Change: 2006 Sep 09 | |
32 | ||
33 | " Exit quickly when: | |
34 | " - this plugin was already loaded (or disabled) | |
35 | *************** | |
36 | *** 44,50 **** | |
37 | let before = 0 | |
38 | ||
39 | let c = getline(c_lnum)[c_col - 1] | |
40 | ! let plist = split(&matchpairs, ':\|,') | |
41 | let i = index(plist, c) | |
42 | if i < 0 | |
43 | " not found, in Insert mode try character before the cursor | |
44 | --- 44,50 ---- | |
45 | let before = 0 | |
46 | ||
47 | let c = getline(c_lnum)[c_col - 1] | |
48 | ! let plist = split(&matchpairs, '.\zs[:,]') | |
49 | let i = index(plist, c) | |
50 | if i < 0 | |
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 | |
54 | *************** | |
55 | *** 668,669 **** | |
56 | --- 668,671 ---- | |
57 | { /* Add new patch number below this line */ | |
58 | + /**/ | |
59 | + 93, | |
60 | /**/ | |
61 | ||
62 | -- | |
63 | BLACK KNIGHT: I move for no man. | |
64 | ARTHUR: So be it! | |
65 | [hah] [parry thrust] | |
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) | |
70 | ||
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 /// |