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

What unicode unit does eglot use in lsp ranges? #244

Closed
Avi-D-coder opened this issue Mar 27, 2019 · 2 comments
Closed

What unicode unit does eglot use in lsp ranges? #244

Avi-D-coder opened this issue Mar 27, 2019 · 2 comments

Comments

@Avi-D-coder
Copy link

Does this project use UTF-8, UTF-16, codepoint, or grapheme cluster indexes for lsp ranges?

If this project uses a unit other than UTF-16 could/would you ever conform to the protocol 3.0 and use UTF-16?

I am conducting a survey to inform the debate over what unit ranges should use in the Language Server Protocol.
The debate is occuring in issue #376.

@joaotavora
Copy link
Owner

If this project uses a unit other than UTF-16 could/would you ever conform to the protocol 3.0 and use UTF-16?

If I understand the issue correctly, there is code in this project to use UTF-16 but it is disabled by default, since most servers don't need it and it is slightly less performant. See #124, #125 and #135.

@Avi-D-coder
Copy link
Author

@jabranham thanks

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

No branches or pull requests

2 participants