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++"]
|
||||
command = "clang-format"
|
||||
options = [
|
||||
"-i",
|
||||
"-style",
|
||||
"{BasedOnStyle: llvm, IndentWidth: 4, SortIncludes: false}"
|
||||
]
|
||||
options = ["-i"]
|
||||
includes = ["*.c", "*.cpp", "*.cc", "*.h", "*.hpp"]
|
||||
|
||||
[formatter.nix]
|
||||
|
|
Loading…
Reference in a new issue