feat(python): add eglot support for +pyright (#5355)
This commit is contained in:
parent
8e30579823
commit
c0490697c0
1 changed files with 5 additions and 0 deletions
|
@ -327,3 +327,8 @@
|
||||||
(use-package! lsp-pyright
|
(use-package! lsp-pyright
|
||||||
:when (featurep! +pyright)
|
:when (featurep! +pyright)
|
||||||
:after lsp-mode))
|
:after lsp-mode))
|
||||||
|
|
||||||
|
(eval-when! (and (featurep! +pyright)
|
||||||
|
(featurep! :tools lsp +eglot))
|
||||||
|
(after! eglot
|
||||||
|
(add-to-list 'eglot-server-programs '(python-mode . ("pyright-langserver" "--stdio")))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue