mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/rust: move lsp! to local-vars hook
i.e. start lsp-mode as late as possible
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
(setq rust-indent-method-chain t)
|
(setq rust-indent-method-chain t)
|
||||||
|
|
||||||
(when (featurep! +lsp)
|
(when (featurep! +lsp)
|
||||||
(add-hook 'rust-mode-hook #'lsp!))
|
(add-hook 'rust-mode-local-vars-hook #'lsp!))
|
||||||
|
|
||||||
(def-package! cargo
|
(def-package! cargo
|
||||||
:defer t
|
:defer t
|
||||||
|
Reference in New Issue
Block a user