summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJonathan Lebon <jlebon@redhat.com>2017-09-21 19:46:17 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2017-09-21 22:03:11 +0000
commita0588c310225195818ebd4689eee5c4ad2103406 (patch)
treeb1eb8123921dace160e2d34360e8d02de48c12ee /.editorconfig
parent95bfe6b8627d7184cc12db1772d537c575904583 (diff)
downloadostree-a0588c310225195818ebd4689eee5c4ad2103406.tar.gz
Add a .vimrc and .editorconfig
The `.vimrc` requires the `exrc` option to be turned on, and `.editorconfig` requires https://github.com/editorconfig/editorconfig-vim apparently. Closes: #1208 Approved by: cgwalters
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..89742b69
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,5 @@
+[*.[ch]]
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
+indent_brace_style = gnu