4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
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
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
21 You can avoid loading this plugin by setting the "loaded_matchparen" variable: >
22 :let loaded_matchparen = 1
24 ! The plugin installs CursorMoved autocommands to redefine the match
27 To disable the plugin after it was loaded use this command: >
30 You can avoid loading this plugin by setting the "loaded_matchparen" variable: >
31 :let loaded_matchparen = 1
33 ! The plugin installs CursorMoved, CursorMovedI and WinEnter autocommands to
34 ! redefine the match highlighting.
36 To disable the plugin after it was loaded use this command: >
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
42 " Vim plugin for showing matching parens
43 " Maintainer: Bram Moolenaar <Bram@vim.org>
44 ! " Last Change: 2007 Jul 30
47 " - this plugin was already loaded (or disabled)
49 " Vim plugin for showing matching parens
50 " Maintainer: Bram Moolenaar <Bram@vim.org>
51 ! " Last Change: 2007 Aug 8
54 " - this plugin was already loaded (or disabled)
59 " Replace all matchparen autocommands
60 ! autocmd! CursorMoved,CursorMovedI * call s:Highlight_Matching_Pair()
63 " Skip the rest if it was already done.
67 " Replace all matchparen autocommands
68 ! autocmd! CursorMoved,CursorMovedI,WinEnter * call s:Highlight_Matching_Pair()
71 " Skip the rest if it was already done.
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
84 " Define commands that will disable and enable the plugin.
85 ! command! NoMatchParen windo 3match none | unlet! g:loaded_matchparen |
87 ! command! DoMatchParen runtime plugin/matchparen.vim | windo doau CursorMoved
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
95 { /* Add new patch number below this line */
101 hundred-and-one symptoms of being an internet addict:
102 195. Your cat has its own home page.
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 ///