From 4eec1141c1e12200f2baa12fbb47b0b722907ec0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 18 Jan 2020 22:02:17 -0500 Subject: [PATCH] Ensure anaconda-mode attempts to activate after lsp --- modules/lang/python/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index f7cf2d73e..63a833029 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -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."