Skip to content
Discussion options

You must be logged in to vote

Yes, this behavior is expected, albeit not mighty intuitive. This is a result of a combination of the following:

  • Quotes are not special surroundings in 'mini.surround' (unlike 'mini.ai'), which means that they match without balancing. For example, in the situation 'a' b 'c' with cursor on b the surrounding would be from right ' in 'a' to left in 'c'. This has always been the case in 'mini.surround'. I remember thinking about changing it by default and deciding not to do it, but to be perfectly honest I don't remember the reason (beside obvious "this is a breaking change"). It is probably due to ' being frequently used in plain English and having it balanced is problematic; while also hav…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.surround
2 participants