mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-07 05:04:34 +08:00
Modify smart_matchpairs regex.
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
" ============================================================================
|
|
||||||
" File: plugin/delimitMate.vim
|
" File: plugin/delimitMate.vim
|
||||||
" Version: 2.5.1
|
" Version: 2.5.1
|
||||||
" Modified: 2010-09-30
|
" Modified: 2010-09-30
|
||||||
" Description: This plugin provides auto-completion for quotes, parens, etc.
|
" Description: This plugin provides auto-completion for quotes, parens, etc.
|
||||||
" Maintainer: Israel Chauca F. <israelchauca@gmail.com>
|
" Maintainer: Israel Chauca F. <israelchauca@gmail.com>
|
||||||
" Manual: Read ":help delimitMate".
|
" Manual: Read ":help delimitMate".
|
||||||
|
" ============================================================================
|
||||||
|
|
||||||
" Initialization: {{{
|
" Initialization: {{{
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ function! s:init() "{{{
|
|||||||
call s:option_init("expand_cr", 0)
|
call s:option_init("expand_cr", 0)
|
||||||
|
|
||||||
" smart_matchpairs
|
" smart_matchpairs
|
||||||
call s:option_init("smart_matchpairs", '^\%(\w\|\!\)')
|
call s:option_init("smart_matchpairs", '^\%(\w\|\!\|£\|\$\|_\|["'']\s*\S\)')
|
||||||
|
|
||||||
" smart_quotes
|
" smart_quotes
|
||||||
call s:option_init("smart_quotes", 1)
|
call s:option_init("smart_quotes", 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user