]> git.eshelyaron.com Git - emacs.git/commit
Eglot: Add ruff-lsp as an alternative Python server
authorNiall Dooley <dooleyn@gmail.com>
Fri, 24 Nov 2023 15:52:36 +0000 (16:52 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 16 Dec 2023 11:10:22 +0000 (12:10 +0100)
commit6b6e770a1f55da0580706c7ec21a409437d19ab4
tree4fb1a7c5cb43443bdcd5381e211b6c52c7cda800
parented8a8a5ba1607a37f0ed9cc11a77221d66946efb
Eglot: Add ruff-lsp as an alternative Python server

ruff-lsp [1] is an LSP server for Ruff [2], [3], a fast Python linter
and code formatter.

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 (eglot-server-programs): Add ruff-lsp.

Copyright-paperwork-exempt: yes
lisp/progmodes/eglot.el