From 616cc3500bc05a82b25bb2d4207db14c06a00b46 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 20 Mar 2023 23:36:24 -0600 Subject: [PATCH] [Emacs] Run lsp-deferred on python --- dotfiles/emacs.d/README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)))