From 029dd959eec1a2d99f1a94f108d3903eac71922c Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sat, 16 Nov 2024 23:19:48 +0800 Subject: [PATCH] lspconfig: pyright -> ruff --- lua/plugins/lspconfig.lua | 2 +- lua/plugins/null-ls.lua | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index eca8d00..c024e43 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -7,7 +7,7 @@ return { capabilities = capabilities, }) - require("lspconfig").pyright.setup({ + require("lspconfig").ruff.setup({ capabilities = capabilities, }) diff --git a/lua/plugins/null-ls.lua b/lua/plugins/null-ls.lua index a2067fa..3235af7 100644 --- a/lua/plugins/null-ls.lua +++ b/lua/plugins/null-ls.lua @@ -6,7 +6,6 @@ return { null_ls.setup({ sources = { - null_ls.builtins.formatting.black, null_ls.builtins.formatting.nixfmt, null_ls.builtins.formatting.stylua, null_ls.builtins.formatting.prettier,