Skip to content
Discussion options

You must be logged in to vote

Sorry, I meant that I tried this

language-server = { command = "rust-analyzer" }

with rust-analyzer in my PATH but the config wasn't being applied either.

Anyhow, I figured out the problem: the json parsing of the provided config was failing silently due to the trailing commas.

Since we're already in a toml file, shouldn't the config be passed in as a toml::Value rather than a json string ?

Replies: 13 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kirawi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #742 on September 11, 2021 15:05.