mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
feat(python): use new ruff
instead of ruff_lsp
(#3016)
This commit is contained in:
parent
5f92dc5304
commit
cd04b58fe3
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue