diff --git a/init.lua b/init.lua index f9ff2ce7..f0101ea5 100644 --- a/init.lua +++ b/init.lua @@ -575,7 +575,19 @@ require('lazy').setup({ local servers = { -- clangd = {}, -- gopls = {}, - pyright = {}, + pyright = { + settings = { + pyright = { + disableOrganizeImports = true, -- Using Ruff + }, + python = { + analysis = { + ignore = { '*' }, -- Using Ruff + }, + }, + }, + }, + ruff_lsp = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- @@ -661,7 +673,7 @@ require('lazy').setup({ formatters_by_ft = { lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially - python = { 'isort', 'black' }, + python = { 'black' }, -- -- You can use a sub-list to tell conform to run *until* a formatter -- is found.