aboutsummaryrefslogtreecommitdiff
path: root/common/.flake/home/clang-format.nix.org
diff options
context:
space:
mode:
Diffstat (limited to 'common/.flake/home/clang-format.nix.org')
-rw-r--r--common/.flake/home/clang-format.nix.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/common/.flake/home/clang-format.nix.org b/common/.flake/home/clang-format.nix.org
new file mode 100644
index 0000000..64a2a64
--- /dev/null
+++ b/common/.flake/home/clang-format.nix.org
@@ -0,0 +1,15 @@
+#+title: Clang Format Default Options
+
+#+begin_src nix :tangle ~/.flake/home/clang-format.nix :mkdirp yes
+ { config, pkgs, ... }:
+
+ {
+ home.file.".clang-format".text = ''
+ BasedOnStyle: LLVM
+ IndentWidth: 4
+ BreakBeforeBraces: Linux
+ AllowShortIfStatementsOnASingleLine: false
+ IndentCaseLabels: false
+ '';
+ }
+#+end_src