feat(python): use ruff as lsp

This commit is contained in:
Radu C. Martin 2025-02-24 15:28:30 +01:00
parent d4e27f5dd7
commit d09c54582d
2 changed files with 9 additions and 2 deletions

View file

@ -35,7 +35,14 @@ return {
lua = { 'stylua' },
-- cs = { 'csharpier' },
-- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" },
python = {
-- To fix auto-fixable lint errors.
'ruff_fix',
-- To run the Ruff formatter.
'ruff_format',
-- To organize the imports.
'ruff_organize_imports',
},
--
-- You can use 'stop_after_first' to run the first available formatter from the list
-- javascript = { "prettierd", "prettier", stop_after_first = true },