mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 12:00:24 +10:00
Updating Doom Emacs.
This commit is contained in:
@@ -12,13 +12,11 @@
|
||||
(warn! "Couldn't find cargo binary"))
|
||||
|
||||
(if (featurep! +lsp)
|
||||
(let ((lsp-server 'rls))
|
||||
(when (require 'rustic nil t)
|
||||
(setq lsp-server rustic-lsp-server))
|
||||
(pcase lsp-server
|
||||
(when (require 'rustic nil t)
|
||||
(pcase rustic-lsp-server
|
||||
(`rust-analyzer
|
||||
(unless (executable-find "ra_lsp_server")
|
||||
(warn! "Couldn't find rust analyzer (ra_lsp_server)")))
|
||||
(unless (executable-find "rust-analyzer")
|
||||
(warn! "Couldn't find rust analyzer (rust-analyzer)")))
|
||||
(`rls
|
||||
(unless (executable-find "rls")
|
||||
(warn! "Couldn't find rls")))))
|
||||
|
||||
Reference in New Issue
Block a user