From 9f332c02016bfd0950277b732de5ac74bfd238a7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 20 Oct 2019 21:54:56 -0400 Subject: [PATCH] lang/python: lsp-python-ms-python-executable-cmd = python-shell-interpreter --- modules/lang/python/config.el | 3 +++ 1 file changed, 3 insertions(+) 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