Revert "feat(python): use new ruff instead of ruff_lsp (#3016)"

This reverts commit cd04b58fe3.
This commit is contained in:
Ryuichi Arafune 2024-04-25 21:42:56 +09:00 committed by GitHub
parent f086bcde25
commit 5eb5d178d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ return {
[lsp] = { [lsp] = {
enabled = true, enabled = true,
}, },
ruff = { ruff_lsp = {
keys = { keys = {
{ {
"<leader>co", "<leader>co",
@ -47,9 +47,9 @@ return {
}, },
}, },
setup = { setup = {
ruff = function() ruff_lsp = function()
LazyVim.lsp.on_attach(function(client, _) LazyVim.lsp.on_attach(function(client, _)
if client.name == "ruff" then if client.name == "ruff_lsp" then
-- Disable hover in favor of Pyright -- Disable hover in favor of Pyright
client.server_capabilities.hoverProvider = false client.server_capabilities.hoverProvider = false
end end