feat(python): use new ruff
instead of ruff_lsp
(#3016)
This commit is contained in:
@ -28,7 +28,7 @@ return {
|
||||
[lsp] = {
|
||||
enabled = true,
|
||||
},
|
||||
ruff_lsp = {
|
||||
ruff = {
|
||||
keys = {
|
||||
{
|
||||
"<leader>co",
|
||||
@ -47,9 +47,9 @@ return {
|
||||
},
|
||||
},
|
||||
setup = {
|
||||
ruff_lsp = function()
|
||||
ruff = function()
|
||||
LazyVim.lsp.on_attach(function(client, _)
|
||||
if client.name == "ruff_lsp" then
|
||||
if client.name == "ruff" then
|
||||
-- Disable hover in favor of Pyright
|
||||
client.server_capabilities.hoverProvider = false
|
||||
end
|
||||
|
Reference in New Issue
Block a user