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:
finga 2024-06-05 09:22:26 +02:00
parent d2792a680d
commit 3fb43d5a5b
2 changed files with 4 additions and 2 deletions

View file

@ -38,5 +38,6 @@
(use-package lsp-mode
:ensure t
:config
(add-hook 'rust-mode-hook 'lsp-deferred))
:hook
(rust-mode . lsp-deferred)
(toml-mode . lsp-deferred))

View file

@ -11,3 +11,4 @@
(setq rust-format-on-save t))
(use-package flycheck-rust :ensure t)
(use-package toml-mode :ensure t)