-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How is g:AutoPairsShortcutMultilineClose
and the new multiline close system working out?
#32
Comments
Maybe It's better to use |
I was really hoping for more feedback, but since I guess it isn't coming, I'll be reverting the change I made, and make an attempt at making it less awkward to use. Might still keep the changes I made as an alternative, but we'll see. Adding a separate option to toggle it would essentially make that system redundant as well. I'll revisit the implementation details tomorrow, when I'm more awake than I am right now :') |
How can I set default: |
I don't understand what you mean -- can't trigger a crash when clicking the keybind defined in |
Unless you mean that, for whatever reason, "Enabled multiline close" and "Disabled multiline close" are thrown as errors instead of being printed as information, in which case, I need your vim specs (no repro in 8.2 1-3013) |
I want to the default behavior is |
I use the old option for that (as in the one that was used prior to the initial change), but it's set to 0 by default. |
Thanks, I thought this option was deprecated. |
It was - I undeprecated it. I deprecated it in the first place because it wasn't used. Now it is, again ^^" |
Some concerns were raised regarding
g:AutoPairsShortcutMultilineClose
and potentially the now separate multiline closure system.For anyone out of the loop on the general subject, multiline close was moved out and into a separate keybind because it's substantially easier and less prone to false positives. In a way, it's fly mode light mode, but without the ability to revert. Internally, it joins empty lines into a space, and considers the first close character on the first non-empty line as a part of the "match". As outlined in #21, this creates balancing problems.
Just to cover all bases here, the options are:
These won't work:
So for the feedback bit:
For those of you using (or trying to use it), is it working out so far? And in general (open question to anyone who feels like it), any comments on the implementation? I'm not expecting a full code review of course, I largely mean in terms of usage (or potentially lack thereof).
What about the keybind? Alternatives are welcome as long as it doesn't conflict with terminal input processing and/or keyboard layouts.
Entirely alternate implementation ideas are also welcome - everything can be changed if needed, so if the feature isn't working out for most people in its current form, it can be changed.
The text was updated successfully, but these errors were encountered: