diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-12-10 20:35:50 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-12-10 20:35:50 +0100 |
commit | 81af9250a7655e54e4f744f2e193ecd5655336a4 (patch) | |
tree | d0f914f475b2472326c6f2b9234b39e2b3608831 /runtime/plugin | |
parent | 7c5676b5d68249dabd86bb1da542ba4f103bee07 (diff) | |
download | vim-git-81af9250a7655e54e4f744f2e193ecd5655336a4.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/plugin')
-rw-r--r-- | runtime/plugin/matchparen.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/plugin/matchparen.vim b/runtime/plugin/matchparen.vim index d5a0ac5a9..3cc732bc4 100644 --- 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: 2008 Sep 03 +" Last Change: 2010 Nov 16 " Exit quickly when: " - this plugin was already loaded (or disabled) @@ -82,8 +82,9 @@ function! s:Highlight_Matching_Pair() endif " When not in a string or comment ignore matches inside them. + " We match "escape" for special items, such as listpEscapeSpecial. let s_skip ='synIDattr(synID(line("."), col("."), 0), "name") ' . - \ '=~? "string\\|character\\|singlequote\\|comment"' + \ '=~? "string\\|character\\|singlequote\\|escape\\|comment"' execute 'if' s_skip '| let s_skip = 0 | endif' " Limit the search to lines visible in the window. |