Skip to content

Use comment as fallback for evil-a-paren if no balanced block inside - #2025

Open
bcc32 wants to merge 1 commit into
emacs-evil:masterfrom
janestreet:fix-2023
Open

Use comment as fallback for evil-a-paren if no balanced block inside#2025
bcc32 wants to merge 1 commit into
emacs-evil:masterfrom
janestreet:fix-2023

Conversation

@bcc32

@bcc32 bcc32 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

For example, in OCaml comments which are delimited by (* *), there can
be numbered lists which may contain unbalanced ")" characters.
evil-a-paren should still be able to select the enclosing comment if
it cannot find a balanced block inside the comment.

Unfortunately, this only works reasonably for count = 1.

Fix #2023.

For example, in OCaml comments which are delimited by (* *), there can
be numbered lists which may contain unbalanced ")" characters.
evil-a-paren should still be able to select the enclosing comment if
it cannot find a balanced block inside the comment.

Unfortunately, this only works reasonably for count = 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Closing parentheses in OCaml comment confuses d a )

1 participant