Merge pull request #232 from philliptvo/master

Fix AutoPairsDefine delete pairs doesn't work
This commit is contained in:
Miao Jiang 2019-01-19 13:28:25 +08:00 committed by GitHub
commit 12dc3a060e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,7 @@ endf
" add <!-- --> pair and remove '{' for html file
func! AutoPairsDefine(pairs, ...)
let r = copy(g:AutoPairs)
if a:0 > 1
if a:0 > 0
for open in a:1
unlet r[open]
endfor