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

Rust rls #100

Open
ghost opened this issue Jul 9, 2021 · 2 comments
Open

Rust rls #100

ghost opened this issue Jul 9, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 9, 2021

Hi,

I've successfully configured several language servers with this plugin, but rls (https://github.com/rust-lang/rls) seems to be unresponsive. Does this work for anyone else ?

{ "lexers": { "Rust": "rs" }, "cmd_unix": [ "rls" ] }

I also tried with "Rust": "rust"

@halfbrained
Copy link
Owner

Seems to be a rls issue - rust-lang/rls#536)

A workaround is to comment out the line in <cudatext>/py/cuda_lsp/sansio_lsp_client/io_handler.py, replace this:

        "Content-Type": f"application/vscode-jsonrpc; charset={encoding}",

with this

        #"Content-Type": f"application/vscode-jsonrpc; charset={encoding}",

@Alexey-T
Copy link

Alexey-T commented Jul 9, 2021

Posted this info to https://wiki.freepascal.org/CudaText_plugins#LSP_server_for_Rust , waiting for a fix

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