Merge pull request #232 from philliptvo/master
Fix AutoPairsDefine delete pairs doesn't work
This commit is contained in:
commit
12dc3a060e
@ -159,7 +159,7 @@ endf
|
|||||||
" add <!-- --> pair and remove '{' for html file
|
" add <!-- --> pair and remove '{' for html file
|
||||||
func! AutoPairsDefine(pairs, ...)
|
func! AutoPairsDefine(pairs, ...)
|
||||||
let r = copy(g:AutoPairs)
|
let r = copy(g:AutoPairs)
|
||||||
if a:0 > 1
|
if a:0 > 0
|
||||||
for open in a:1
|
for open in a:1
|
||||||
unlet r[open]
|
unlet r[open]
|
||||||
endfor
|
endfor
|
||||||
|
Loading…
Reference in New Issue
Block a user