dotfiles

Yes, my $HOME has a git repo now :(

git clone git://git.shimmy1996.com/dotfiles.git
commit a068760f94d34b37f64c2f4fa33184c8a0ea963e
parent d556b4f752c7434f33002678bb6d4ea4141936a6
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Fri,  3 May 2019 14:51:34 -0400

Add clang-format config

Diffstat:
A.clang-format | 16++++++++++++++++
M.gitignore | 1+
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/.clang-format b/.clang-format
@@ -0,0 +1,16 @@
+---
+Language: Cpp
+BasedOnStyle: Google
+DerivePointerAlignment: false
+IncludeBlocks: Regroup
+IncludeCategories:
+  - Regex:      '^".*'
+    Priority:   1
+  - Regex:      '^<.*/.*>'
+    Priority:   2
+  - Regex:      '^<[^/]*\.h>'
+    Priority:   4
+  - Regex:      '^<[^/]*>'
+    Priority:   3
+ReflowComments: false
+...
diff --git a/.gitignore b/.gitignore
@@ -9,6 +9,7 @@
 # Config files.
 !.bash_profile
 !.bashrc
+!.clang-format
 !.config
 !.config/alacritty
 !.config/alacritty/*