From 5eb5d178d2a3a6b1ea4695494212247685cc40d0 Mon Sep 17 00:00:00 2001 From: Ryuichi Arafune Date: Thu, 25 Apr 2024 21:42:56 +0900 Subject: [PATCH] Revert "feat(python): use new `ruff` instead of `ruff_lsp` (#3016)" This reverts commit cd04b58fe3f7299fbca75e7eb47287617ac23fcf. --- lua/lazyvim/plugins/extras/lang/python.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/lazyvim/plugins/extras/lang/python.lua b/lua/lazyvim/plugins/extras/lang/python.lua index b36fd80c..bc1e28cf 100644 --- a/lua/lazyvim/plugins/extras/lang/python.lua +++ b/lua/lazyvim/plugins/extras/lang/python.lua @@ -28,7 +28,7 @@ return { [lsp] = { enabled = true, }, - ruff = { + ruff_lsp = { keys = { { "co", @@ -47,9 +47,9 @@ return { }, }, setup = { - ruff = function() + ruff_lsp = function() LazyVim.lsp.on_attach(function(client, _) - if client.name == "ruff" then + if client.name == "ruff_lsp" then -- Disable hover in favor of Pyright client.server_capabilities.hoverProvider = false end