# HG changeset patch # User vimboss # Date 1155053223 0 # Node ID 09fcdfde9afca8990c086e60fe5e122cb258cadc # Parent 3cd88bdcd97d7d0a3e2f5a00a6627f00970ce5b9 updated for version 7.0-046 diff --git a/runtime/plugin/matchparen.vim b/runtime/plugin/matchparen.vim --- 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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 46, +/**/ 45, /**/ 44,