Add support for pyright language server

This commit is contained in:
Michael Lingelbach 2020-07-25 10:15:00 -07:00
parent afcf56a610
commit e6ae1d295c
3 changed files with 20 additions and 2 deletions

View file

@ -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)