Skip to content

Conversation

@Benna96
Copy link

@Benna96 Benna96 commented Nov 29, 2025

Fixes an off-by-one bug in get_chunk_range_by_context that caused incorrect chunk detection when cursor was on a brace.

Specifically, the bug caused incorrect reading of the current character, resulting in c flag not being added to searchpair when necessary.

Fixes an off-by-one bug in `get_chunk_range_by_context` that caused
incorrect chunk detection when cursor was on a brace.

Specifically, the bug caused incorrect reading of the current character,
resulting in `c` flag not being added to `searchpair` when necessary.
@Benna96
Copy link
Author

Benna96 commented Nov 29, 2025

Here's pictures to illustrate.

Bugged Fixed
image image

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.

1 participant