mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Adding lsp-python-ms with patch so it doesn't force itself to be installed.
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user