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:
parent
0d5d721da9
commit
d188dd4c89
2 changed files with 5 additions and 1 deletions
|
@ -49,7 +49,6 @@
|
|||
(use-package lsp-mode
|
||||
:ensure t
|
||||
:hook
|
||||
(python-mode . lsp-deferred)
|
||||
(rust-mode . lsp-deferred)
|
||||
(toml-mode . lsp-deferred)
|
||||
:config
|
||||
|
|
|
@ -5,3 +5,8 @@
|
|||
:ensure t
|
||||
:hook
|
||||
(python-mode . flycheck-mode))
|
||||
|
||||
(use-package lsp-mode
|
||||
:ensure t
|
||||
:hook
|
||||
(python-mode . lsp-deferred))
|
||||
|
|
Loading…
Reference in a new issue