emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67441: closed ([PATCH] eglot: Add ruff-lsp as an alternative python


From: GNU bug Tracking System
Subject: bug#67441: closed ([PATCH] eglot: Add ruff-lsp as an alternative python server)
Date: Sat, 16 Dec 2023 11:13:02 +0000

Your message dated Sat, 16 Dec 2023 03:12:09 -0800
with message-id 
<CADwFkmnSA_gbB1JUYrivP_59SRU-LV5EFN3Q51LLPSR1orp_FQ@mail.gmail.com>
and subject line Re: bug#67441: [PATCH] eglot: Add ruff-lsp as an alternative 
python server
has caused the debbugs.gnu.org bug report #67441,
regarding [PATCH] eglot: Add ruff-lsp as an alternative python server
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
67441: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67441
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] eglot: Add ruff-lsp as an alternative python server Date: Fri, 24 Nov 2023 16:52:36 +0100
ruff-lsp [1] is a Language Server Protocol implementation for Ruff [2,
3], an extremely fast Python linter and code formatter, written in
Rust.

It supports surfacing Ruff diagnostics and providing Code Actions to
fix them, but is intended to be used alongside another Python LSP in
order to support features like navigation and autocompletion.

[1]: https://github.com/astral-sh/ruff-lsp
[2]: https://github.com/astral-sh/ruff
[3]: https://docs.astral.sh/ruff/
---
 lisp/progmodes/eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 48ea33c3ee1..d7d91bddb01 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -216,7 +216,7 @@ chosen (interactively or automatically)."
                                 (vimrc-mode . ("vim-language-server" 
"--stdio"))
                                 ((python-mode python-ts-mode)
                                  . ,(eglot-alternatives
-                                     '("pylsp" "pyls" ("pyright-langserver" 
"--stdio") "jedi-language-server")))
+                                     '("pylsp" "pyls" ("pyright-langserver" 
"--stdio") "jedi-language-server" "ruff-lsp")))
                                 ((js-json-mode json-mode json-ts-mode)
                                  . ,(eglot-alternatives 
'(("vscode-json-language-server" "--stdio")
                                                           
("vscode-json-languageserver" "--stdio")
-- 
2.30.2




--- End Message ---
--- Begin Message --- Subject: Re: bug#67441: [PATCH] eglot: Add ruff-lsp as an alternative python server Date: Sat, 16 Dec 2023 03:12:09 -0800
Version: 29.2

João Távora <joaotavora@gmail.com> writes:

> Install at will.

Thanks, done.  I'm therefore closing this bug report.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]