updated for version 7.0224

This commit is contained in:
Bram Moolenaar
2006-03-14 22:55:34 +00:00
parent c7d893589e
commit 3b1ddfed51
3 changed files with 17 additions and 10 deletions

View File

@ -1,6 +1,6 @@
" Vim plugin for showing matching parens
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2006 Mar 04
" Last Change: 2006 Mar 14
" Exit quickly when:
" - this plugin was already loaded (or disabled)
@ -23,6 +23,9 @@ if exists("*s:Highlight_Matching_Pair")
finish
endif
let cpo_save = &cpo
set cpo-=C
" The function that is invoked (very often) to define a ":match" highlighting
" for any matching paren.
function! s:Highlight_Matching_Pair()
@ -102,3 +105,5 @@ endfunction
" Define commands that will disable and enable the plugin.
command! NoMatchParen 3match none | unlet! g:loaded_matchparen | au! matchparen
command! DoMatchParen runtime plugin/matchparen.vim | doau CursorMoved
let &cpo = cpo_save