diff options
Diffstat (limited to 'common/.flake/home/clang-format.nix.org')
-rw-r--r-- | common/.flake/home/clang-format.nix.org | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/.flake/home/clang-format.nix.org b/common/.flake/home/clang-format.nix.org index 64a2a64..f25e482 100644 --- a/common/.flake/home/clang-format.nix.org +++ b/common/.flake/home/clang-format.nix.org @@ -1,5 +1,11 @@ #+title: Clang Format Default Options +Set global =clang-format= options: +- Default to LLVM style +- Use indents of width 4 +- Use Linux standards for braces (new line for functions, same line for everything else) +- If statements cannot be on a single line. +- Case labels are not indented. #+begin_src nix :tangle ~/.flake/home/clang-format.nix :mkdirp yes { config, pkgs, ... }: |