rust-analyzer and LSPs installed with cargo don't attach #330
-
Hello! I have a problem specifically with rust-analyzer and other LSPs installed with rust's cargo don't attach. I don't know why and I have no such trouble other LSPs. Another LSP I have installed and behaves similarly is Running
Here is a link to my LSP-Zero configuration. How should I fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
These server maybe can't detect the "root directory" of your project. Search the documentation in lspconfig server_configurations see the section about Some servers only need to detect a |
Beta Was this translation helpful? Give feedback.
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.