From 26dd014860c0edd89a859d2d8c6dff10275acbad Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Mon, 16 Dec 2024 23:28:56 -0600 Subject: system changes --- common/.flake/home/clang-format.nix.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common/.flake/home/clang-format.nix.org') 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, ... }: -- cgit v1.2.3