mirror of
https://github.com/jiangmiao/auto-pairs.git
synced 2025-04-21 20:18:48 +08:00
fix AutoPairsFastWrap: remove wrong \
inside []
This commit is contained in:
parent
39f06b873a
commit
f6830ee765
@ -338,7 +338,7 @@ func! AutoPairsFastWrap()
|
||||
let c = @"
|
||||
normal! x
|
||||
let [before, after, ig] = s:getline()
|
||||
if after[0] =~ '\v[\{\[\(\<]'
|
||||
if after[0] =~ '\v[{[(<]'
|
||||
normal! %
|
||||
normal! p
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user