Mercurial > vim
changeset 967:daa1e34570ff v7.0.093
updated for version 7.0-093
author | vimboss |
---|---|
date | Sat, 09 Sep 2006 11:37:51 +0000 |
parents | eb800128bd89 |
children | 994ea4e6f023 |
files | runtime/plugin/matchparen.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 Jun 26 +" Last Change: 2006 Sep 09 " Exit quickly when: " - this plugin was already loaded (or disabled) @@ -44,7 +44,7 @@ function! s:Highlight_Matching_Pair() let before = 0 let c = getline(c_lnum)[c_col - 1] - let plist = split(&matchpairs, ':\|,') + let plist = split(&matchpairs, '.\zs[:,]') let i = index(plist, c) if i < 0 " not found, in Insert mode try character before the cursor