summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-27 21:35:54 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-27 21:35:54 -0700
commit62cb38bf8a826125fba0034221343aa70dd3d415 (patch)
tree67348fa88068e1fdb2fca04d74c0ce60072bd280 /.editorconfig
parentaca7161e53ec40f6979d024d84afeb36fa911292 (diff)
Use clang-format, llvm style, for formatting.
* Reformatted all source files. * Added 'format' target to Makefile. * Removed 'astyle' target. * Updated .editorconfig.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/.editorconfig b/.editorconfig
index 915ad66..12032e6 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -9,8 +9,8 @@ insert_final_newline = true
[*.{c,h}]
trim_trailing_whitespace = true
-indent_style = tab
-indent_size = 8
+indent_style = space
+indent_size = 2
[Makefile]
trim_trailing_whitespace = true