What setting causes the cursor to jump into the next pair rather than create a new pair? #40
-
Sorry if this is a dumb question, but I've been struggling with this constantly. Here's the situation: Is there a way to disable this behavior? Thank you for maintaining this great plugin |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Sorry for the late response - this managed to slip through my stack of stuff to do (been getting a lot of emails for a couple days, and this managed to slip my mind. My bad). The option for this is Not sure how much of the processing is bad here, so I'm gonna open an issue to track this as well This has now been fixed, as of #54. Feel free to open a new bug report (preferably as an issue) if anything now breaks. |
Beta Was this translation helpful? Give feedback.
Sorry for the late response - this managed to slip through my stack of stuff to do (been getting a lot of emails for a couple days, and this managed to slip my mind. My bad).
The option for this is
g:AutoPairsSearchCloseAfterSpace
. That said, there's an underlying bug here - with it disabled, it outputs" "foo"
. This is a symptom of the actual problem; for whatever reason, the plugin is registering an imbalance that isn't there. That's probably why it's jumping too, but I'm not entirely sure. The jump logic for when open == close relies on simply guessing what's an open quote and what's a close quote, and what's caused by an imbalance. Could probably be improved, but this falls into the c…