diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..c63870a --- /dev/null +++ b/.clang-format @@ -0,0 +1,6 @@ +--- +BasedOnStyle: LLVM +ColumnLimit: 150 +--- +Language: Cpp +AllowShortFunctionsOnASingleLine: Empty diff --git a/.vscode/settings.json b/.vscode/settings.json index 6937aac..a4f7843 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -32,5 +32,8 @@ "[css]": { "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true + }, + "[c]": { + "editor.formatOnSave": true } }