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" ]
|
|
|
|
|
2022-04-26 08:48:39 +00:00
|
|
|
[formatter.nix]
|
|
|
|
command = "nixpkgs-fmt"
|
|
|
|
includes = ["*.nix"]
|