lang/rust: move lsp! to local-vars hook
i.e. start lsp-mode as late as possible
This commit is contained in:
parent
71d505b893
commit
f09a2b60c4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue