lang/rust: use default LSP client instead of rustic's
This commit is contained in:
parent
cd3190b594
commit
f2f8503246
1 changed files with 3 additions and 6 deletions
|
@ -11,12 +11,9 @@
|
||||||
:mode ("\\.rs$" . rustic-mode)
|
:mode ("\\.rs$" . rustic-mode)
|
||||||
:commands rustic-run-cargo-command rustic-cargo-outdated
|
:commands rustic-run-cargo-command rustic-cargo-outdated
|
||||||
:preface
|
:preface
|
||||||
(setq rustic-rls-pkg (if (featurep! +lsp) 'lsp-mode)
|
;; We use the superior default client provided by `lsp-mode', not the one
|
||||||
;; `rustic-setup-rls' uses `package-installed-p' to determine if
|
;; rustic-mode sets up for us.
|
||||||
;; lsp-mode/elgot are available. This breaks because Doom doesn't use
|
(setq rustic-lsp-client nil)
|
||||||
;; package.el to begin with (and lazy loads it). This is already handled
|
|
||||||
;; by the :tools lsp module, so...
|
|
||||||
rustic-lsp-setup-p nil)
|
|
||||||
:config
|
:config
|
||||||
(set-docsets! 'rustic-mode "Rust")
|
(set-docsets! 'rustic-mode "Rust")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue