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

Fix for nvim 10+ #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mike-lloyd03
Copy link

The arduino-language-server depends on this library. However, as of nvim 10.0, the LSP fails to attach to the buffer and it cannot be used.

A simple fix was recommended in the issue above to change the datatype for jsonrcp.ProgressToken from json.RawMessage to string. The original datatype json.RawMessage is itself an alias for a byte array so coercing to a string would just ensure the content is UTF-8 I think. I'm not too familiar with how LSPs work but I think it's reasonable to expect that all data is UTF-8 encoded.

Fixes #3.

@DaiAoMori
Copy link

I'd second this request, arduino-language-server for nvim 0.10 really depends on it :)

@mike-lloyd03
Copy link
Author

@cmaglie Any chance I could get a review on this?

@nicolasauler
Copy link

Also seconding the request.
Can we get some eyes on this?

@schlosserleo
Copy link

would be really nice if this could get merged

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

Successfully merging this pull request may close these issues.

Add new capabilities
4 participants