Skip to content

rust-analyzer and LSPs installed with cargo don't attach #330

Answered by VonHeikemen
nicolasdumitru asked this question in Q&A
Discussion options

You must be logged in to vote

These server maybe can't detect the "root directory" of your project. Search the documentation in lspconfig server_configurations see the section about root_dir.

Some servers only need to detect a .git folder in the root of your project to work properly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nicolasdumitru
Comment options

Answer selected by nicolasdumitru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants