This commit is contained in:
antoine 2026-03-22 09:48:53 +01:00
commit 6eae514dab
Signed by: antoine
GPG key ID: 9EB6BAADC51B6133
15 changed files with 500 additions and 0 deletions

17
plugins/formatter.nix Normal file
View file

@ -0,0 +1,17 @@
{...}: {
vim.formatter.conform-nvim = {
enable = true;
setupOpts = {
formatters_by_ft = {
lua = ["stylua"];
rust = ["rustfmt"];
nix = ["alejandra"];
python = ["black"];
};
format_on_save = {
timeout_ms = 2000;
lsp_format = "fallback";
};
};
};
}