when I open a Rust source file, eglot mode does not trigger the LSP server (rust-analyzer).
What did you expect to happen?
When I open a Rust source file, eglot should trigger rust-analyzer. In my previous doom configuration with
lsp-mode this used to work.
:tools (lsp +eglot) and
:lang (rust +lsp).
After every config.el/init.el change I run:
doom sync && doom compile -p -c just to be sure.
Steps to reproduce
- Open a Rust source file with Doom emacs
- In the modeline I see that EGLOT mode is enabled
rust-analyzerdoes not start
As a workaround, I force starting the LSP server as suggested here by adding:
;; config.el (add-hook 'rustic-mode-local-vars-hook #'lsp!)
Loading data dump...