diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index 16388d4d0..1b4d03338 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -271,6 +271,9 @@ called.") :init (setq lsp-python-ms-dir (concat doom-etc-dir "mspyls/")) + (after! python + (setq lsp-python-ms-python-executable-cmd python-shell-interpreter)) + ;; HACK lsp-python-ms shouldn't install itself if it isn't present. This ;; circumvents LSP falling back to pyls when lsp-python-ms is absent. ;; Installing the server should be a deliberate act; either 'M-x