Add support for pyright language server
This commit is contained in:
parent
afcf56a610
commit
e6ae1d295c
3 changed files with 20 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue