feat: add alejandra as formatter

This commit is contained in:
Moritz Böhme 2025-05-18 18:38:17 +02:00
parent 9a2d0eed40
commit 23aa8bdd15
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9

View file

@ -9,7 +9,11 @@
go = ["gofmt"];
json = ["jq"];
lua = ["stylua"];
nix = ["nixpkgs_fmt"];
nix.__raw = ''
function(bufnr)
return { first(bufnr, "nixpkgs_fmt", "alejandra") }
end
'';
python.__raw = ''
function(bufnr)
return { first(bufnr, "ruff_organize_imports", "isort"), first(bufnr, "ruff_format", "black")}