Ensure anaconda-mode attempts to activate after lsp

This commit is contained in:
Henrik Lissner 2020-01-18 22:02:17 -05:00
parent 37f15008e7
commit 4eec1141c1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -93,7 +93,7 @@ called.")
(setq anaconda-mode-installation-directory (concat doom-etc-dir "anaconda/")
anaconda-mode-eldoc-as-single-line t)
(add-hook! 'python-mode-local-vars-hook
(add-hook! 'python-mode-local-vars-hook :append
(defun +python-init-anaconda-mode-maybe-h ()
"Enable `anaconda-mode' if `lsp-mode' is absent and
`python-shell-interpreter' is present."