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
Nu LSP crashes on encountering unicode values #12745
Comments
@schrieveslaach Would you mind looking into this? @KAAtheWiseGit I'm not sure about logging either but my first step would be to look at the testing. Seems like Marc had quite a few tests for the lsp. BTW - I put |
@KAAtheWiseGit, I couldn't reproduce the issue with the Arch builds or with the latest development version.
I'm wondering if this is a @fdncred is right, there are tests with utf8. |
I thought it might've been a Neovim-specific thing, but I can't replicate it with |
Worth keeping in mind that the default encoding for positions specified by the protocol is UTF-16 until the capability negotiation is done. |
Describe the bug
The LSP
nu --lsp
, used by Neovim, crashes when it encounters non-ASCII Unicode values.How to reproduce
Expected behavior
Not crash.
Screenshots
No response
Configuration
Additional context
I'm unsure how to properly log the LSP output. If there's a way, I can replicate the bug and submit the logs.
Neovim itself outputs:
Which, I presume, means that the LSP client has disconnected.
The text was updated successfully, but these errors were encountered: