Skip to content

fix AutoPairsFastWrap: remove wrong \ inside []#274

Open
tomtomjhj wants to merge 1 commit into
jiangmiao:masterfrom
tomtomjhj:fix-wrap
Open

fix AutoPairsFastWrap: remove wrong \ inside []#274
tomtomjhj wants to merge 1 commit into
jiangmiao:masterfrom
tomtomjhj:fix-wrap

Conversation

@tomtomjhj

Copy link
Copy Markdown

'\v[\{\[\(\<]' matches '\' because the collection pattern (:help /[]) matches any single char in the collection even though \v is used. Because of this, AutoPairsFastWrap() on texts like {\bar{|}\asdf} didn't work.

This patch removes such wrong \s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant