Set rustic-rls-pkg sooner
To give the user an opportunity to change it.
This commit is contained in:
parent
a7a9951a50
commit
31875b64f4
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue