nix-eval-jobs/treefmt.toml
2022-04-26 21:20:24 +12:00

9 lines
249 B
TOML

[formatter."c++"]
command = "clang-format"
options = [ "-i", "-style", "{BasedOnStyle: llvm, IndentWidth: 4, SortIncludes: false}" ]
includes = [ "*.c", "*.cpp", "*.cc", "*.h", "*.hpp" ]
[formatter.nix]
command = "nixpkgs-fmt"
includes = ["*.nix"]