Skip to content

Commit 65d240f

Browse files
authored
fix: really use ruff instead of ruff_lsp (#4) (#7)
This commit prevents the following error: /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:800: Spawning language server with cmd: `{ "ruff-lsp" }` failed. The language server is either not installed, missing from PATH, or not executable. and will allow the attachment of the new ruff server when editing Python files.
1 parent 87ca125 commit 65d240f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kickstart-python.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ local plugins = {
9090
-- ruff uses an LSP proxy, therefore it needs to be enabled as if it
9191
-- were a LSP. In practice, ruff only provides linter-like diagnostics
9292
-- and some code actions, and is not a full LSP yet.
93-
require("lspconfig").ruff_lsp.setup({
93+
require("lspconfig").ruff.setup({
9494
-- organize imports disabled, since we are already using `isort` for that
9595
-- alternative, this can be enabled to make `organize imports`
9696
-- available as code action

0 commit comments

Comments
 (0)