summaryrefslogtreecommitdiffstats
path: root/runtime/plugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-14 22:55:34 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-14 22:55:34 +0000
commit3b1ddfed5170427a58a4ac51ea212daadaa8a631 (patch)
treed8accf59702ab6bfa0588993edcf68e781b27197 /runtime/plugin
parentc7d893589ea0829a930516a3b5ea544a6baf3984 (diff)
updated for version 7.0224
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/matchparen.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/plugin/matchparen.vim b/runtime/plugin/matchparen.vim
index c27cf5122d..c8d6f9b92f 100644
--- a/runtime/plugin/matchparen.vim
+++ b/runtime/plugin/matchparen.vim
@@ -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