[Emacs] Run lsp-deferred on python
This commit is contained in:
parent
38dec5029b
commit
616cc3500b
@ -2246,10 +2246,12 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
|
|||||||
;; company-jedi or company-lsp.
|
;; company-jedi or company-lsp.
|
||||||
;; (remove-hook 'completion-at-point-functions
|
;; (remove-hook 'completion-at-point-functions
|
||||||
;; 'python-completion-complete-at-point 'local)
|
;; 'python-completion-complete-at-point 'local)
|
||||||
(unless imalison:use-lsp-python
|
(if imalison:use-lsp-python
|
||||||
|
(lsp-deferred)
|
||||||
(imalison:jedi-setup))))
|
(imalison:jedi-setup))))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
|
(require 'lsp-pylsp)
|
||||||
(use-package sphinx-doc)
|
(use-package sphinx-doc)
|
||||||
(unbind-key "C-j" python-mode-map)
|
(unbind-key "C-j" python-mode-map)
|
||||||
(add-hook 'python-mode-hook #'imalison:python-mode)))
|
(add-hook 'python-mode-hook #'imalison:python-mode)))
|
||||||
|
Loading…
Reference in New Issue
Block a user