Use lsp-deferred to speed up Python mode startup
This commit is contained in:
parent
99d0ac3dc5
commit
23eff3dc12
2
init.el
2
init.el
|
@ -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 #'highlight-indentation-mode)
|
||||||
(add-hook 'python-mode-hook #'company-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/
|
;; https://ddavis.io/posts/emacs-python-lsp/
|
||||||
(use-package pyvenv
|
(use-package pyvenv
|
||||||
|
|
Loading…
Reference in New Issue
Block a user