Compare commits

...

3 commits

Author SHA1 Message Date
ce1a062606 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.
2024-09-12 10:44:27 +02:00
d188dd4c89 lsp-mode: Move python-mode config for lsp-mode to python config
To decouple python from the dev config and contain it solely in the
python config, configure the lsp-mode for python in the python config.
2024-09-12 10:44:21 +02:00
0d5d721da9 lsp-mode: Add inline hints
Add config to show some inline hints.
2024-09-12 10:36:33 +02:00
3 changed files with 14 additions and 4 deletions

View file

@ -48,7 +48,6 @@
(use-package lsp-mode
:ensure t
:hook
(python-mode . lsp-deferred)
(rust-mode . lsp-deferred)
(toml-mode . lsp-deferred))
:config
(lsp-inlay-hints-mode)
(setq lsp-inlay-hint-enable t))

View file

@ -5,3 +5,8 @@
:ensure t
:hook
(python-mode . flycheck-mode))
(use-package lsp-mode
:ensure t
:hook
(python-mode . lsp-deferred))

View file

@ -10,5 +10,11 @@
;; format code when saving
(setq rust-format-on-save t))
(use-package lsp-mode
:ensure t
:hook
(rust-mode . lsp-deferred)
(toml-mode . lsp-deferred))
(use-package flycheck-rust :ensure t)
(use-package toml-mode :ensure t)