Vscode-neovim: 2byte character edit problem

Created on 18 Dec 2019  ·  7Comments  ·  Source: asvetliakov/vscode-neovim

In insert mode no problem on editing 2 byte width character(CJK).
but normal mode problem on cursor move.

sample text (japanese, korean, chinese)

こんにちは嬉しいです
안녕하세요 반갑습니다
你好,很高兴认识你

need more info

All 7 comments

What exactly the problem is? 0.0.40 has fixed this issue I think, now seems works fine at least with Chinese.

if i move on 2byte character, not moving just one character.
i'll try to record situation and then attach video.

https://www.youtube.com/watch?v=yAlICGOldD4

That's weird, I tested with Japanese/Korean/Chinese all works fine, this issue seems exactly like https://github.com/asvetliakov/vscode-neovim/issues/91, and it's fixed after update.

@luzluna Works for me in your example. make sure you're using latest version

also what is your file encoding? it won't work with multibyte encodings other than with utf-8

oh now works well.. maybe i've updated plugin version.(i didn't recognize it, sorry)
i'm using 0.0.42 version. and using utf8 encoding.
just tested #91's '当节点连接异常时,您可以尝试节点切换' works well.
and my test sample works well to.

but i found another problem.
https://youtu.be/bbw05W_wOHI

if i press esc for normal mode, cursor jump to strange position.
(i think it is minor problem...)

I created #106 for your new problem

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DrakeXiang picture DrakeXiang  ·  3Comments

DrakeXiang picture DrakeXiang  ·  4Comments

haberdashPI picture haberdashPI  ·  3Comments

Shatur95 picture Shatur95  ·  4Comments

hholst80 picture hholst80  ·  3Comments