mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Add ruff to organize imports
This commit is contained in:
@@ -16,7 +16,7 @@ return {
|
||||
formatters_by_ft = {
|
||||
python = function(bufnr)
|
||||
if require("conform").get_formatter_info("ruff_format", bufnr).available then
|
||||
return { "ruff_format" }
|
||||
return { "ruff_format", "ruff_organize_imports" }
|
||||
else
|
||||
return { "isort", "black" }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user