diff options
-rw-r--r-- | .clang-format | 12 | ||||
-rw-r--r-- | .dir-locals.el | 7 |
2 files changed, 19 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..3e9f955 --- /dev/null +++ b/.clang-format @@ -0,0 +1,12 @@ +BasedOnStyle: LLVM +Language: Cpp +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +SortIncludes: false +ContinuationIndentWidth: 8 +ColumnLimit: 80 +Cpp11BracedListStyle: false +ReflowComments: false diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..9828d2c --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,7 @@ +((c++-mode + (c-file-style . "linux") + (eval . (progn + (c-set-offset 'innamespace '0) + (c-set-offset 'inline-open '0)))) + (c-mode + (c-file-style . "linux"))) |