diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index f8850baa..73b26f76 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -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)))