diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-09-09 11:37:51 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-09-09 11:37:51 +0000 |
commit | 41e6cd5f2a2f8d4fe19c1469d62f509aa4be8a2b (patch) | |
tree | 6394b81f5fa3ef84dcac8b44295f1876191d2fe6 /runtime/plugin/matchparen.vim | |
parent | 7ad753cf438ce6229dcf371bd18866ebfbf94148 (diff) | |
download | vim-41e6cd5f2a2f8d4fe19c1469d62f509aa4be8a2b.zip |
updated for version 7.0-093
Diffstat (limited to 'runtime/plugin/matchparen.vim')
-rw-r--r-- | runtime/plugin/matchparen.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/plugin/matchparen.vim b/runtime/plugin/matchparen.vim index 969154743..c4792b821 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: 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 |