mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add support for pyright language server
This commit is contained in:
@ -292,7 +292,9 @@ called.")
|
||||
|
||||
|
||||
(use-package! lsp-python-ms
|
||||
:when (and (featurep! +lsp) (not (featurep! :tools lsp +eglot)))
|
||||
:when (featurep! +lsp)
|
||||
:when (not (featurep! +pyright))
|
||||
:when (not (featurep! :tools lsp +eglot))
|
||||
:after lsp-clients
|
||||
:preface
|
||||
(after! python
|
||||
@ -307,6 +309,12 @@ called.")
|
||||
:around #'lsp-python-ms--extra-init-params
|
||||
(ignore-errors (apply orig-fn args))))
|
||||
|
||||
(use-package! lsp-pyright
|
||||
:when (featurep! +lsp)
|
||||
:when (featurep! +pyright)
|
||||
:when (not (featurep! :tools lsp +eglot))
|
||||
:after lsp-clients)
|
||||
|
||||
|
||||
(use-package! cython-mode
|
||||
:when (featurep! +cython)
|
||||
|
Reference in New Issue
Block a user