Mercurial > vim
changeset 920:09fcdfde9afc v7.0.046
updated for version 7.0-046
author | vimboss |
---|---|
date | Tue, 08 Aug 2006 16:07:03 +0000 |
parents | 3cd88bdcd97d |
children | cd9471bd8e9e |
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 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)