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."