mirror of
https://github.com/jiangmiao/auto-pairs.git
synced 2025-04-21 20:18:48 +08:00
Restore previous changes
This commit is contained in:
parent
78da0fc9c4
commit
79ce878884
@ -208,8 +208,8 @@ func! AutoPairsInsert(key)
|
||||
|
||||
let [before, after, afterline] = s:getline()
|
||||
|
||||
" Ignore auto close if prev character is \
|
||||
if before[-1:-1] == '\'
|
||||
" Ignore auto close if prev character is in g:AutoPairsIgnoreCharacters
|
||||
if index(g:AutoPairsIgnoreCharacters, prev_char) != -1
|
||||
return a:key
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user