Skip to content
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

streak-mode multibyte highlighting #27

Closed
justinmk opened this issue Nov 19, 2013 · 1 comment
Closed

streak-mode multibyte highlighting #27

justinmk opened this issue Nov 19, 2013 · 1 comment
Labels

Comments

@justinmk
Copy link
Owner

sneak basic mode works fine with all multibyte situations so far.

however, streak-mode has the same issue that easymotion has or had: easymotion/vim-easymotion#28

Target labels are offset or missing completely. To test, try a streak-mode search for ïo (on a Mac, option-o + o) in the following text:

foo æfïooæ ïoòôõïo ïofoo fooïo ïoïo

Another test case (#47):

абв

Another thing to keep in mind with sneak basic mode:

  • use strwidth() instead of len() (vim-7.3 only)

see also: easymotion/vim-easymotion#60

@justinmk
Copy link
Owner Author

This is fixed now. 😎

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

No branches or pull requests

1 participant