mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Set rustic-rls-pkg sooner
To give the user an opportunity to change it.
This commit is contained in:
@ -39,10 +39,11 @@
|
||||
(def-package! rustic
|
||||
:when EMACS26+
|
||||
:after rust-mode
|
||||
:preface
|
||||
(setq rustic-rls-pkg (if (featurep! +lsp) 'lsp-mode))
|
||||
:config
|
||||
(setq rustic-indent-method-chain rust-indent-method-chain
|
||||
rustic-flycheck-setup-mode-line-p nil
|
||||
rustic-rls-pkg (if (featurep! +lsp) 'lsp-mode))
|
||||
rustic-flycheck-setup-mode-line-p nil)
|
||||
|
||||
;; `rustic-setup-rls' uses `package-installed-p' unnecessarily, which breaks
|
||||
;; because Doom lazy loads package.el.
|
||||
|
Reference in New Issue
Block a user