tab width for c

This commit is contained in:
twoneis 2024-05-30 16:59:30 +02:00
parent e442f9686c
commit f4632a6bea

View file

@ -13,5 +13,19 @@
indent = { tab-width = 8; unit = " "; }; indent = { tab-width = 8; unit = " "; };
roots = []; roots = [];
file-types = ["S"]; 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 = " "; };
}]; }];
} }