* eglot.el (eglot-server-programs): Add pyright support for
python-mode.
* README.md: Document the above change.
Copyright-paperwork-exempt: Yes
(defvar eglot-server-programs `((rust-mode . (eglot-rls "rls"))
(python-mode
- . ,(eglot-alternatives '("pylsp" "pyls")))
+ . ,(eglot-alternatives
+ '("pylsp" "pyls" ("pyright-langserver" "--stdio"))))
((js-mode typescript-mode)
. ("typescript-language-server" "--stdio"))
(sh-mode . ("bash-language-server" "start"))