about summary refs log tree commit diff
path: root/.editorconfig
diff options
context:
space:
mode:
authorCarlos O'Ryan <coryan@google.com>2019-06-28T19·01-0400
committerCarlos O'Ryan <coryan@google.com>2019-06-28T19·01-0400
commiteab5cb57dd38531023b1e7e7a529882c268d1333 (patch)
tree7af1d8825cd97697e911c1d576aaff7b1ca1bb32 /.editorconfig
Initial set of files.
The make install target is not working for .proto files, but otherwise
it seems to work.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000000..0983572c6549
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,22 @@
+# http://editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+
+[BUILD]
+indent_size = 4
+
+[CMakeLists.*]
+indent_size = 4
+
+[*.h,*.cc]
+indent_size = 2
+
+[*.md]
+indent_size = 2
+
+[*.sh]
+indent_size = 2