tab width for c
This commit is contained in:
parent
e442f9686c
commit
f4632a6bea
1 changed files with 14 additions and 0 deletions
|
@ -13,5 +13,19 @@
|
|||
indent = { tab-width = 8; unit = " "; };
|
||||
roots = [];
|
||||
file-types = ["S"];
|
||||
} {
|
||||
name = "json";
|
||||
auto-format = true;
|
||||
formatter = { command = "prettier"; args = ["--parser" "json"]; };
|
||||
} {
|
||||
name = "jsonc";
|
||||
auto-format = true;
|
||||
formatter.command = "prettier";
|
||||
formatter.args = ["--parser" "jsonc"];
|
||||
} {
|
||||
name = "c";
|
||||
auto-format = true;
|
||||
formatter = { command = "clang-format"; args = ["-style=file"]; };
|
||||
indent = { tab-width = 8; unit = " "; };
|
||||
}];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue