[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.
|
||||
;; (remove-hook 'completion-at-point-functions
|
||||
;; 'python-completion-complete-at-point 'local)
|
||||
(unless imalison:use-lsp-python
|
||||
(if imalison:use-lsp-python
|
||||
(lsp-deferred)
|
||||
(imalison:jedi-setup))))
|
||||
:config
|
||||
(progn
|
||||
(require 'lsp-pylsp)
|
||||
(use-package sphinx-doc)
|
||||
(unbind-key "C-j" python-mode-map)
|
||||
(add-hook 'python-mode-hook #'imalison:python-mode)))
|
||||
|
Loading…
Reference in New Issue
Block a user