Avoid fallback completion if lsp--buffer-deferred

This commit is contained in:
Henrik Lissner 2019-10-23 22:08:28 -04:00
parent 0b67251159
commit 42421a765d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 5 additions and 2 deletions

View file

@ -104,7 +104,8 @@ called.")
(add-hook! 'python-mode-local-vars-hook
(defun +python-init-anaconda-mode-maybe-h ()
"Enable `anaconda-mode' if `lsp-mode' isn't."
(unless (bound-and-true-p lsp-mode)
(unless (or (bound-and-true-p lsp-mode)
(bound-and-true-p lsp--buffer-deferred))
(anaconda-mode +1))))
(defun +python-auto-kill-anaconda-processes-h ()