From 192b20751c1d497d62c6fe2dc867f88cbd5a552b Mon Sep 17 00:00:00 2001 From: ccQpein Date: Wed, 11 Sep 2024 00:02:41 -0400 Subject: [PATCH] update ruff-lsp to ruff --- clients/lsp-ruff-lsp.el | 5 +++-- docs/lsp-clients.json | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/clients/lsp-ruff-lsp.el b/clients/lsp-ruff-lsp.el index c95359d5c1..c31cfcb424 100644 --- a/clients/lsp-ruff-lsp.el +++ b/clients/lsp-ruff-lsp.el @@ -31,8 +31,9 @@ :group 'lsp-mode :link '(url-link "https://github.com/charliermarsh/ruff-lsp")) -(defcustom lsp-ruff-lsp-server-command '("ruff-lsp") - "Command to start ruff-lsp." +(defcustom lsp-ruff-lsp-server-command '("ruff" "server") + "Command to start ruff lsp. +Previous ruff-lsp should change this to (\"ruff-lsp\")" :risky t :type '(repeat string) :group 'lsp-ruff-lsp) diff --git a/docs/lsp-clients.json b/docs/lsp-clients.json index b3d88fef39..c619ec15d9 100644 --- a/docs/lsp-clients.json +++ b/docs/lsp-clients.json @@ -941,11 +941,11 @@ "debugger": "Not available" }, { - "name": "ruff-lsp", + "name": "ruff", "full-name": "Python", - "server-name": "ruff-lsp", - "server-url": "https://github.com/charliermarsh/ruff-lsp", - "installation": "pip install ruff-lsp", + "server-name": "ruff", + "server-url": "https://github.com/astral-sh/ruff", + "installation": "pip install ruff (previous pip install ruff-lsp)", "debugger": "Not available" }, {