From: Jostein Kjønigsen Date: Mon, 19 May 2025 08:00:37 +0000 (+0200) Subject: Add support for Pyrefly LSP for Python X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f82b8ad43cda208b5d21c01f242062cfae2e374;p=emacs.git Add support for Pyrefly LSP for Python * lisp/progmodes/eglot.el (eglot-server-programs): Add config for Pyrefly. (Bug#78492) (cherry picked from commit 328b316764f0b06f7b8c774e9855ff2426a13bfe) --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 7447d8c71e5..840714a60b7 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -248,6 +248,7 @@ automatically)." . ,(eglot-alternatives '("pylsp" "pyls" ("basedpyright-langserver" "--stdio") ("pyright-langserver" "--stdio") + ("pyrefly" "lsp") "jedi-language-server" ("ruff" "server") "ruff-lsp"))) ((js-json-mode json-mode json-ts-mode jsonc-mode) . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio")