rust: Ensure toml-mode is installed
Ensure that the toml-mode is installed and enable it (needs taplo, `cargo install taplo-cli --features lsp`).
This commit is contained in:
parent
d2792a680d
commit
3fb43d5a5b
2 changed files with 4 additions and 2 deletions
|
@ -38,5 +38,6 @@
|
||||||
|
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:hook
|
||||||
(add-hook 'rust-mode-hook 'lsp-deferred))
|
(rust-mode . lsp-deferred)
|
||||||
|
(toml-mode . lsp-deferred))
|
||||||
|
|
|
@ -11,3 +11,4 @@
|
||||||
(setq rust-format-on-save t))
|
(setq rust-format-on-save t))
|
||||||
|
|
||||||
(use-package flycheck-rust :ensure t)
|
(use-package flycheck-rust :ensure t)
|
||||||
|
(use-package toml-mode :ensure t)
|
||||||
|
|
Loading…
Reference in a new issue