From 3b1ddfed5170427a58a4ac51ea212daadaa8a631 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 14 Mar 2006 22:55:34 +0000 Subject: [PATCH] updated for version 7.0224 --- runtime/plugin/matchparen.vim | 7 ++++++- runtime/syntax/vim.vim | 18 ++++++++++-------- src/proto/undo.pro | 2 +- 3 files changed, 17 insertions(+), 10 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 -" 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 diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim index 3d3db65086..2bade1592f 100644 --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -1,8 +1,8 @@ " Vim syntax file " Language: Vim 7.0 script " Maintainer: Dr. Charles E. Campbell, Jr. -" Last Change: March 08, 2006 -" Version: 7.0-29 +" Last Change: March 13, 2006 +" Version: 7.0-32 " Automatically generated keyword lists: {{{1 " Quit when a syntax file was already loaded {{{2 @@ -20,13 +20,13 @@ syn keyword vimCommand contained ab[breviate] abc[lear] abo[veleft] al[l] arga[d syn match vimCommand contained "\