nix-eval-jobs/treefmt.toml

9 lines
249 B
TOML
Raw Normal View History

2022-04-26 09:04:54 +00:00
[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"]