Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Fix incorrect behavior in multi-byte chars #315

Merged
merged 1 commit into from
Oct 9, 2022

Conversation

aznhe21
Copy link
Contributor

@aznhe21 aznhe21 commented Sep 14, 2022

This PR fixes these incorrect behavior.


:HopChar1AC with a shows a hint on the 1st char:

ああ*あaaa

:lua require'hop'.hint_char1 { direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, hint_offset = -1 } with a and select 1st a raises the error Column value outside range:

aaaあ*ああ

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants