From f6015300a0ff8ce98e22e0b4b6ecb16d0f47bf6d Mon Sep 17 00:00:00 2001 From: Israel Chauca Fuentes Date: Fri, 14 Jan 2011 20:37:04 -0600 Subject: [PATCH] Modify smart_matchpairs regex. --- plugin/delimitMate.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/delimitMate.vim b/plugin/delimitMate.vim index bdda588..ac2f617 100644 --- a/plugin/delimitMate.vim +++ b/plugin/delimitMate.vim @@ -1,10 +1,10 @@ -" ============================================================================ " File: plugin/delimitMate.vim " Version: 2.5.1 " Modified: 2010-09-30 " Description: This plugin provides auto-completion for quotes, parens, etc. " Maintainer: Israel Chauca F. " Manual: Read ":help delimitMate". +" ============================================================================ " Initialization: {{{ @@ -112,7 +112,7 @@ function! s:init() "{{{ call s:option_init("expand_cr", 0) " smart_matchpairs - call s:option_init("smart_matchpairs", '^\%(\w\|\!\)') + call s:option_init("smart_matchpairs", '^\%(\w\|\!\|£\|\$\|_\|["'']\s*\S\)') " smart_quotes call s:option_init("smart_quotes", 1)