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))