fix(trixy-macros): Format the generated header with in the GNU style
This commit is contained in:
parent
1b8a33c919
commit
7c27cdc0e0
|
@ -80,6 +80,7 @@ impl TrixyConfig {
|
||||||
write!(c_header_out, "{}\n{}", c_header, VIM_LINE_C).expect("Write should work");
|
write!(c_header_out, "{}\n{}", c_header, VIM_LINE_C).expect("Write should work");
|
||||||
|
|
||||||
Command::new("clang-format")
|
Command::new("clang-format")
|
||||||
|
.args(["--style", "GNU"])
|
||||||
.args(["-i", &c_header_path.to_str().unwrap()])
|
.args(["-i", &c_header_path.to_str().unwrap()])
|
||||||
.status()
|
.status()
|
||||||
.unwrap_or_else(|err| {
|
.unwrap_or_else(|err| {
|
||||||
|
|
Reference in New Issue