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
[HOWTO] rust-analyzer not working #2195
Comments
I just installed rls using |
lsp-rust is supposedly superior, and doesn't assume anything about our package management system like rustic does. Relevant to #2195
Use this instead: (after! lsp-rust
(setq lsp-rust-server 'rust-analyzer)) Doom now uses the lsp support built into lsp-mode, not the one built into rustic. I've just updated the README to reflect this. |
Tried this
but still when I open rust buffer this: when I run On this page it says emacs need dash and ht package and load this file. Should I do this by myself or doom emacs did it already for me? |
You don't need to install it's dependencies, no. Try this instead: (setq lsp-rust-server 'rust-analyzer) |
Yes, this:
or this:
solve the problem, now emacs use rust analyzer instead of rls. Thank you. |
I kept |
@brotzeit Done. |
FYI, I recently had trouble getting rust-analyzer to work and the OPs steps helped me out. The problem I ran into though was that |
I am trying to install the rust-analyzer
I'm trying to install rust-analyzer but when I'm open rust buffer this message writes on bottom.
Server rls:20735 status:starting exited with status exit. Do you want to restart it? (y or n)
if I press y the number(20735) increase 1, every time. Also, the number(20735) different every time I open rust buffer.
I have done so far
Additional information
ra_lsp_server on my path but when I run ra_lsp_server on my shell it's write to output nothing,
so I'm not sure that if it installed correctly or not.
System information
The text was updated successfully, but these errors were encountered: