9 lines
249 B
TOML
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"]
|