plugins/none-ls: add formatting source: trim_newlines & trim_whitespace

This commit is contained in:
budimanjojo 2023-12-06 10:43:57 +07:00 committed by Gaétan Lepage
parent ee7e489448
commit 7e8250dc58
2 changed files with 4 additions and 0 deletions

View file

@ -167,6 +167,8 @@ with lib; let
taplo = {
package = pkgs.taplo;
};
trim_newlines = {};
trim_whitespace = {};
};
};
# Format the servers to be an array of attrs like the following example

View file

@ -104,6 +104,8 @@
protolint.enable = true;
rustfmt.enable = true;
sqlfluff.enable = true;
trim_newlines.enable = true;
trim_whitespace.enable = true;
};
};
};