From 8ff38007cb49c85f10ce6e6394074e41dbe4c97d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 8 Aug 2006 16:07:03 +0000 Subject: updated for version 7.0-046 --- runtime/plugin/matchparen.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/plugin') diff --git a/runtime/plugin/matchparen.vim b/runtime/plugin/matchparen.vim index 81f00c146d..9691547434 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 May 11 +" Last Change: 2006 Jun 26 " Exit quickly when: " - this plugin was already loaded (or disabled) @@ -96,7 +96,7 @@ function! s:Highlight_Matching_Pair() " When not in a string or comment ignore matches inside them. let s_skip ='synIDattr(synID(line("."), col("."), 0), "name") ' . - \ '=~? "string\\|comment"' + \ '=~? "string\\|character\\|singlequote\\|comment"' execute 'if' s_skip '| let s_skip = 0 | endif' let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline) -- cgit v1.2.3