forked from lix-project/nix-eval-jobs
Move clang-format config to .clang-format
This commit is contained in:
parent
15e5f5f7c8
commit
22a2008a68
3
.clang-format
Normal file
3
.clang-format
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
BasedOnStyle: llvm
|
||||||
|
IndentWidth: 4
|
||||||
|
SortIncludes: false
|
|
@ -1,10 +1,6 @@
|
||||||
[formatter."c++"]
|
[formatter."c++"]
|
||||||
command = "clang-format"
|
command = "clang-format"
|
||||||
options = [
|
options = ["-i"]
|
||||||
"-i",
|
|
||||||
"-style",
|
|
||||||
"{BasedOnStyle: llvm, IndentWidth: 4, SortIncludes: false}"
|
|
||||||
]
|
|
||||||
includes = ["*.c", "*.cpp", "*.cc", "*.h", "*.hpp"]
|
includes = ["*.c", "*.cpp", "*.cc", "*.h", "*.hpp"]
|
||||||
|
|
||||||
[formatter.nix]
|
[formatter.nix]
|
||||||
|
|
Loading…
Reference in a new issue