]>
Commit | Line | Data |
---|---|---|
0a7814d6 AG |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.1.082 | |
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.1.082 | |
11 | Problem: After a ":split" the matchparen highlighting isn't there. | |
12 | Solution: Install a WinEnter autocommand. Also fixes that after | |
13 | ":NoMatchParen" only the current window is updated. (Martin Toft) | |
14 | Files: runtime/doc/pi_paren.txt, runtime/plugin/matchparen.vim | |
15 | ||
16 | ||
17 | *** ../vim-7.1.081/runtime/doc/pi_paren.txt Sat May 12 16:23:41 2007 | |
18 | --- runtime/doc/pi_paren.txt Sat Aug 18 15:08:32 2007 | |
19 | *************** | |
20 | *** 12,19 **** | |
21 | You can avoid loading this plugin by setting the "loaded_matchparen" variable: > | |
22 | :let loaded_matchparen = 1 | |
23 | ||
24 | ! The plugin installs CursorMoved autocommands to redefine the match | |
25 | ! highlighting. | |
26 | ||
27 | To disable the plugin after it was loaded use this command: > | |
28 | ||
29 | --- 12,19 ---- | |
30 | You can avoid loading this plugin by setting the "loaded_matchparen" variable: > | |
31 | :let loaded_matchparen = 1 | |
32 | ||
33 | ! The plugin installs CursorMoved, CursorMovedI and WinEnter autocommands to | |
34 | ! redefine the match highlighting. | |
35 | ||
36 | To disable the plugin after it was loaded use this command: > | |
37 | ||
38 | *** ../vim-7.1.081/runtime/plugin/matchparen.vim Thu Aug 2 23:00:06 2007 | |
39 | --- runtime/plugin/matchparen.vim Sat Aug 18 15:08:32 2007 | |
40 | *************** | |
41 | *** 1,6 **** | |
42 | " Vim plugin for showing matching parens | |
43 | " Maintainer: Bram Moolenaar <Bram@vim.org> | |
44 | ! " Last Change: 2007 Jul 30 | |
45 | ||
46 | " Exit quickly when: | |
47 | " - this plugin was already loaded (or disabled) | |
48 | --- 1,6 ---- | |
49 | " Vim plugin for showing matching parens | |
50 | " Maintainer: Bram Moolenaar <Bram@vim.org> | |
51 | ! " Last Change: 2007 Aug 8 | |
52 | ||
53 | " Exit quickly when: | |
54 | " - this plugin was already loaded (or disabled) | |
55 | *************** | |
56 | *** 13,19 **** | |
57 | ||
58 | augroup matchparen | |
59 | " Replace all matchparen autocommands | |
60 | ! autocmd! CursorMoved,CursorMovedI * call s:Highlight_Matching_Pair() | |
61 | augroup END | |
62 | ||
63 | " Skip the rest if it was already done. | |
64 | --- 13,19 ---- | |
65 | ||
66 | augroup matchparen | |
67 | " Replace all matchparen autocommands | |
68 | ! autocmd! CursorMoved,CursorMovedI,WinEnter * call s:Highlight_Matching_Pair() | |
69 | augroup END | |
70 | ||
71 | " Skip the rest if it was already done. | |
72 | *************** | |
73 | *** 126,132 **** | |
74 | endfunction | |
75 | ||
76 | " Define commands that will disable and enable the plugin. | |
77 | ! command! NoMatchParen 3match none | unlet! g:loaded_matchparen | au! matchparen | |
78 | ! command! DoMatchParen runtime plugin/matchparen.vim | doau CursorMoved | |
79 | ||
80 | let &cpo = cpo_save | |
81 | --- 126,133 ---- | |
82 | endfunction | |
83 | ||
84 | " Define commands that will disable and enable the plugin. | |
85 | ! command! NoMatchParen windo 3match none | unlet! g:loaded_matchparen | | |
86 | ! \ au! matchparen | |
87 | ! command! DoMatchParen runtime plugin/matchparen.vim | windo doau CursorMoved | |
88 | ||
89 | let &cpo = cpo_save | |
90 | *** ../vim-7.1.081/src/version.c Sat Aug 18 17:46:50 2007 | |
91 | --- src/version.c Sat Aug 18 18:19:20 2007 | |
92 | *************** | |
93 | *** 668,669 **** | |
94 | --- 668,671 ---- | |
95 | { /* Add new patch number below this line */ | |
96 | + /**/ | |
97 | + 82, | |
98 | /**/ | |
99 | ||
100 | -- | |
101 | hundred-and-one symptoms of being an internet addict: | |
102 | 195. Your cat has its own home page. | |
103 | ||
104 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
105 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
106 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
107 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |