-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
parentheses highlighting inconsistent on closing parentheses #2823
Comments
Maybe you can PR this? |
This was a conscious decision, related to the change with While it may be unnatural when you move between parens by |
Derp, this is basically a variant on the other issue I made: #2525 I don't know what, if anything, should be done for this. Maybe spacemacs needs a toggle that sets up everything properly depending on whether |
I think this paren highlighting behaviour is already dependant on |
The user still has to set both, because there's no user code that runs between @syl20bnr Since additional packages have |
@TheBB I believe that What I would like in Spacemacs is the alternative fix: the parens behind the cursor block should be always highlighted. It is better for dealing with lisps and I feel that sane natural defaults in Spacemacs should go towards lisps as Emacs is the host. We should have a setting in Spacemacs to choose to highlight It may require some PR for smartparens/evil (I don't know exactly where is the inconsistency - if there is one). |
For the |
I confess I didn't actually try, but that's not what I see. It's off topic for this issue though, so I can look at it later. |
(@TheBB indeed, doftile owner is a special case: https://github.com/syl20bnr/spacemacs/blob/develop/core/core-configuration-layer.el#L723-L726 should be trivial to add support for an optional init function) |
This is a pretty old report, @darkfeline do you still have this behavior ? |
Nope, it's fixed for me. |
show-smartparens-mode behavior is inconsistent on closing parens.
On opening parens:
When the cursor is at the caret, the two starred parens are highlighted, but for closing parens it does this:
The fix is to set
sp-show-pair-from-inside
tot
:The text was updated successfully, but these errors were encountered: