monkoose / neocodeium

free AI completion plugin for neovim
MIT License
66 stars 0 forks source link

Problem with cyrilllic #10

Closed dddyom closed 2 months ago

dddyom commented 2 months ago

👎 Problem

Hi again!

I describe problems with the Cyrillic alphabet. When calling neocodeium.accept, some letters are skipped and must be entered manually. Although in virtual text the addition is correct

Before calling accept

2024-05-23_15-56_1

After

2024-05-23_15-56

🔢 Steps to reproduce

To reproduce this, you need to initiate a hint by writing any word in Cyrillic (for example, "привет"). Then call the accept.

When writing “Привет,” neocodeium adds the word “мир” to the virtual text, but after calling accept, only “ми” is added

👍 Expected behavior

Correct addition

Thanks for your time!

Neovim version (nvim -v)

nightly

Operating system (uname -om)

Linux x86_64

:checkhealth neocodeium

OK

Relevant log output

No response

monkoose commented 2 months ago

Reproduced.

monkoose commented 2 months ago

An obvious issue is that letters are "eaten up" after cyrillic р.

monkoose commented 2 months ago

Should be fixed.