Use lsp-deferred to speed up Python mode startup

This commit is contained in:
Daniel - 2022-07-03 16:59:16 +02:00
parent 99d0ac3dc5
commit 23eff3dc12
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 1 additions and 1 deletions

View File

@ -2999,7 +2999,7 @@ With given ARG, display files in `db/important-document-path."
(add-hook 'python-mode-hook #'highlight-indentation-mode)
(add-hook 'python-mode-hook #'company-mode)
(add-hook 'python-mode-hook #'lsp)))
(add-hook 'python-mode-hook #'lsp-deferred)))
;; https://ddavis.io/posts/emacs-python-lsp/
(use-package pyvenv