Adding lsp-python-ms with patch so it doesn't force itself to be installed.
This commit is contained in:
parent
49afaa8bd1
commit
850c0bbb61
2 changed files with 14 additions and 0 deletions
|
@ -247,3 +247,13 @@ called.")
|
||||||
(add-to-list 'global-mode-string
|
(add-to-list 'global-mode-string
|
||||||
'(conda-env-current-name (" conda:" conda-env-current-name " "))
|
'(conda-env-current-name (" conda:" conda-env-current-name " "))
|
||||||
'append))
|
'append))
|
||||||
|
|
||||||
|
;; lsp-python-ms setup
|
||||||
|
(defun +python--dont-auto-install-server-a (orig-fn)
|
||||||
|
lsp-python-ms-executable)
|
||||||
|
(use-package! lsp-python-ms
|
||||||
|
:when (featurep! +lsp)
|
||||||
|
:init
|
||||||
|
(advice-add #'lsp-python-ms--command-string
|
||||||
|
:override #'+python--dont-auto-install-server-a))
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
;; Major modes
|
;; Major modes
|
||||||
(package! pip-requirements)
|
(package! pip-requirements)
|
||||||
|
|
||||||
|
;; LSP
|
||||||
|
(when (featurep! +lsp)
|
||||||
|
(package! lsp-python-ms))
|
||||||
|
|
||||||
;; Programming environment
|
;; Programming environment
|
||||||
(package! anaconda-mode)
|
(package! anaconda-mode)
|
||||||
(when (featurep! :completion company)
|
(when (featurep! :completion company)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue