-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Implement utf-8 offsets extension from clangd #7453
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
Labels
S-actionable
Someone could pick this issue up and work on it right now
Comments
@bkchr would you be willing to submit a patch for this? I thing you need to:
|
Yeah, I will try to find some time for it :) Actually doing it in Rust should be way faster than doing it in lisp :D |
@bkchr did you get the chance to look into this? If not, I might look into this this weekend (but no promises :D ) |
@matklad Not yet :( Do you have seen this emacs-lsp/lsp-mode#2080 (comment) ? |
Merged
bors bot
added a commit
that referenced
this issue
Feb 16, 2021
7657: utf8 r=matklad a=matklad - Prepare for utf-8 offsets - reduce code duplication in tests - Make utf8 default, implement utf16 in terms of it - Make it easy to add additional context for offset conversion - Implement utf8 offsets closes #7453 Co-authored-by: Aleksey Kladov <[email protected]>
bors bot
added a commit
that referenced
this issue
Feb 16, 2021
7657: utf8 r=matklad a=matklad - Prepare for utf-8 offsets - reduce code duplication in tests - Make utf8 default, implement utf16 in terms of it - Make it easy to add additional context for offset conversion - Implement utf8 offsets closes #7453 Co-authored-by: Aleksey Kladov <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://clangd.llvm.org/extensions.html#utf-8-offsets
we should totally support this.
The text was updated successfully, but these errors were encountered: