Skip to content

Commit

Permalink
update ruff-lsp to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ccqpein committed Sep 11, 2024
1 parent dd61303 commit 192b207
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions clients/lsp-ruff-lsp.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions docs/lsp-clients.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand Down

0 comments on commit 192b207

Please sign in to comment.