mirror of
https://github.com/jiangmiao/auto-pairs.git
synced 2025-11-14 03:03:14 +08:00
Merge pull request #232 from philliptvo/master
Fix AutoPairsDefine delete pairs doesn't work
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user