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 unit does bash-language-server use in lsp ranges? #116

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

What unit does bash-language-server use in lsp ranges? #116

Avi-D-coder opened this issue Mar 27, 2019 · 2 comments
Labels
question Further information is requested

Comments

@Avi-D-coder
Copy link

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

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.

@skovhus
Copy link
Collaborator

skovhus commented Sep 23, 2019

@Avi-D-coder sorry for not responding faster here. I'm actually unsure what we use. How can I check?

@skovhus skovhus added the question Further information is requested label Sep 23, 2019
@Avi-D-coder
Copy link
Author

It will depend on how you generate ranges? Is everything loaded into JS strings or are you doing IO.

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

No branches or pull requests

2 participants