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.
This commit is contained in:
finga 2024-09-12 10:39:37 +02:00
parent 0d5d721da9
commit d188dd4c89
2 changed files with 5 additions and 1 deletions

View file

@ -49,7 +49,6 @@
(use-package lsp-mode (use-package lsp-mode
:ensure t :ensure t
:hook :hook
(python-mode . lsp-deferred)
(rust-mode . lsp-deferred) (rust-mode . lsp-deferred)
(toml-mode . lsp-deferred) (toml-mode . lsp-deferred)
:config :config

View file

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