logoalt Hacker News

hmry • today at 8:35 AM • 1 reply • view on HN

The column is measured in UTF-16 code units


Replies

ivanjermakov • today at 10:08 AM

Oh you're right, except since LSP 3.17 position encoding can be negotiated with clients/servers that support it. I initially got confused because my work with LSP started with 3.17 and I always used UTF-8 encoding.

https://microsoft.github.io/language-server-protocol/specifi...