You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduced and working on a fix - will probably deliver a PR some time this weekend. I believe this is a regression due to VSCode changing editor.autoClosingBrackets to an enum from a bool. We can handle always, never, and beforeWhitespace correctly, but I don't think we can get language-specific configuration (at least in general), so we might not be able to deliver a perfect solution. There's also editor.autoClosingQuotes which should be handled separately.
I also feel like X in normal mode should be treated the same way, but I don't think I'll tackle that issue now.
…hen deleting a bracket/quote (#3941)
When we delete a "pairable" character like (, we look to the right to see if there's the matching ) and delete it is well. We should not do that if auto-matching is disabled in settings. This behavior regressed because the type of editor.autoClosingBrackets was changed from a bool to a more fine-grained enum. There's also editor.autoClosingQuotes now, so we should respect that too.
Fixes#3936
Description
Removing left bracket using Backspace cause autoremoving of right bracket.
Steps to reproduce the behavior
|
is cursor positionExpected behavior
Environment (please complete the following information):
Additional context
VSCode by itself have option
"editor.autoClosingBrackets": "never"
and it works well without VsCodeVim.Similar problem? #1231
There are no comments how to fix it. Pressing
Ctrl
works but is not solution.The text was updated successfully, but these errors were encountered: