Set rustic-rls-pkg sooner

To give the user an opportunity to change it.
This commit is contained in:
Henrik Lissner 2019-07-09 19:29:08 +02:00
parent a7a9951a50
commit 31875b64f4
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -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.