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

Auto import inserts at incorrect position if it's after multibyte/wide characters #397

Closed
2 tasks done
s-cerevisiae opened this issue Nov 28, 2024 · 0 comments
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@s-cerevisiae
Copy link

Make sure you have done the following

  • I have updated to the latest version of blink.cmp
  • I have read the README

Bug Description

When auto import is inserted after lines that contain multi-byte (or wide?) characters, it inserts at a wrong position and cuts up bytes in previous lines.

Reproduction:
https://github.com/s-cerevisiae/blink-cmp-issues/blob/master/src/bin/auto_import.rs
(doesn't include the result after auto import because it kills rust-analyzer immediately)

Relevant configuration

{}

neovim version

v0.10.2

blink.cmp version: branch, tag, or commit

main (56f7cb6)

@s-cerevisiae s-cerevisiae added the bug Something isn't working label Nov 28, 2024
@Saghen Saghen closed this as completed in 49981f2 Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant