lsp-mode: Move rust-mode config for lsp-mode to rust config
To decouple rust from the dev config and contain it solely in the rust config, configure the lsp-mode for rust in the rust config.
This commit is contained in:
parent
d188dd4c89
commit
ce1a062606
2 changed files with 6 additions and 3 deletions
|
@ -48,9 +48,6 @@
|
|||
|
||||
(use-package lsp-mode
|
||||
:ensure t
|
||||
:hook
|
||||
(rust-mode . lsp-deferred)
|
||||
(toml-mode . lsp-deferred)
|
||||
:config
|
||||
(lsp-inlay-hints-mode)
|
||||
(setq lsp-inlay-hint-enable t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue