lang/python: ensure anaconda is started after lsp

This commit is contained in:
Henrik Lissner 2019-10-23 22:09:28 -04:00
parent 42421a765d
commit 9177c1b07a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -101,7 +101,7 @@ called.")
:documentation #'anaconda-mode-show-doc)
(set-popup-rule! "^\\*anaconda-mode" :select nil)
(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' isn't."
(unless (or (bound-and-true-p lsp-mode)