mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
Add support for Pyrefly LSP for Python
* lisp/progmodes/eglot.el (eglot-server-programs): Add config for Pyrefly. (Bug#78492)
This commit is contained in:
parent
c526646d70
commit
328b316764
1 changed files with 1 additions and 0 deletions
|
@ -251,6 +251,7 @@ automatically)."
|
||||||
. ,(eglot-alternatives
|
. ,(eglot-alternatives
|
||||||
'("pylsp" "pyls" ("basedpyright-langserver" "--stdio")
|
'("pylsp" "pyls" ("basedpyright-langserver" "--stdio")
|
||||||
("pyright-langserver" "--stdio")
|
("pyright-langserver" "--stdio")
|
||||||
|
("pyrefly" "lsp")
|
||||||
"jedi-language-server" ("ruff" "server") "ruff-lsp")))
|
"jedi-language-server" ("ruff" "server") "ruff-lsp")))
|
||||||
((js-json-mode json-mode json-ts-mode jsonc-mode)
|
((js-json-mode json-mode json-ts-mode jsonc-mode)
|
||||||
. ,(eglot-alternatives '(("vscode-json-language-server" "--stdio")
|
. ,(eglot-alternatives '(("vscode-json-language-server" "--stdio")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue