2022-04-26 09:04:54 +00:00
|
|
|
[formatter."c++"]
|
|
|
|
command = "clang-format"
|
2022-04-26 09:34:51 +00:00
|
|
|
options = [
|
|
|
|
"-i",
|
|
|
|
"-style",
|
|
|
|
"{BasedOnStyle: llvm, IndentWidth: 4, SortIncludes: false}"
|
|
|
|
]
|
|
|
|
includes = ["*.c", "*.cpp", "*.cc", "*.h", "*.hpp"]
|
2022-04-26 09:04:54 +00:00
|
|
|
|
2022-04-26 08:48:39 +00:00
|
|
|
[formatter.nix]
|
|
|
|
command = "nixpkgs-fmt"
|
|
|
|
includes = ["*.nix"]
|
2022-04-26 09:34:51 +00:00
|
|
|
|
|
|
|
[formatter.toml]
|
|
|
|
command = "prettier"
|
|
|
|
options = ["--write"]
|
|
|
|
includes = ["*.toml"]
|