feat(nixvim): added conform

also fixed merge conflict
This commit is contained in:
2025-10-02 12:39:52 +01:00
parent fd30dc9698
commit 83219fe6de
5 changed files with 29 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
{ ... }: {
programs.nixvim = {
plugins = {
conform-nvim = {
enable = true;
settings = {
formatters_by_ft = {
nix = [ "nixfmt" ];
rust = [ "rustfmt" ];
"_" = [
"squeeze_blanks"
"trim_whitespace"
"trim_newlines"
];
};
format_on_save = {
timeout_ms = 500;
lsp_format = "fallback";
};
};
};
};
};
}