Update ruff lsp reference

This commit is contained in:
Sonny Bakker 2024-11-25 21:36:40 +01:00
parent c775ba3fa5
commit 5a346cf7ea

View file

@ -64,7 +64,7 @@ local python_root_dir = function(fname)
util.path.dirname(fname)
end
nvim_lsp.ruff_lsp.setup({
nvim_lsp.ruff.setup({
on_attach = on_attach,
capabilities = capabilities,
root_dir = python_root_dir
@ -79,7 +79,7 @@ nvim_lsp.pylsp.setup({
pylsp = {
plugins = {
ruff = {
enabled = false -- now through ruff_lsp
enabled = false -- now through ruff lsp
}
}
}