Skip to content

fix: configuration syntax for nvim-lsp#22649

Merged
ShoyuVanilla merged 1 commit into
rust-lang:masterfrom
Ronron1024:patch-1
Jul 2, 2026
Merged

fix: configuration syntax for nvim-lsp#22649
ShoyuVanilla merged 1 commit into
rust-lang:masterfrom
Ronron1024:patch-1

Conversation

@Ronron1024

Copy link
Copy Markdown
Contributor

The lsp config is called rust_analyzer not rust-analyzer.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 26, 2026
@ChayimFriedman2

Copy link
Copy Markdown
Contributor

Can some Neovim-using maintainer confirm? @ShoyuVanilla I think you use it.

@Ronron1024

Ronron1024 commented Jun 27, 2026

Copy link
Copy Markdown
Contributor Author

Some additional information:

I did not install nvim-lspconfig, as it's now well integrated into vanilla neovim.
So maybe it will work when the plugin is installed, but I doubt it, regarding this section of their current README (vim.lsp.config use rust_analyzer).

Furthermore, my comprehension of the book other_editors.md lead me to download the rust lsp config as standalone, maybe other will follow this path too. And it cost me some time to debug...

Thank you for your efforts!

@Ronron1024

Copy link
Copy Markdown
Contributor Author

Update: I tested with nvim-lspconfig on a fresh install, this doesn't work, the rust-analyzer config isn't found.

@ChayimFriedman2

Copy link
Copy Markdown
Contributor

So the old key is correct?

@Ronron1024

Copy link
Copy Markdown
Contributor Author

No, it's definitely rust_analyzer in place of rust-analyzer.

@ShoyuVanilla

Copy link
Copy Markdown
Member

Can some Neovim-using maintainer confirm? @ShoyuVanilla I think you use it.

Oh, I missed your ping 😅 Yeah, rust_analyzer is the correct key

@ShoyuVanilla ShoyuVanilla left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShoyuVanilla ShoyuVanilla added this pull request to the merge queue Jul 2, 2026
Merged via the queue into rust-lang:master with commit 490c8f2 Jul 2, 2026
32 of 34 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 2, 2026
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.

4 participants