mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
feat(python): add eglot support for +pyright (#5355)
This commit is contained in:
@ -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")))))
|
||||||
|
Reference in New Issue
Block a user