summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-02-17 15:37:56 +0000
committerJose Fonseca <jfonseca@vmware.com>2016-02-17 15:37:56 +0000
commit6635dbbde478dd009e3e26c18dd7860bc00a4ae1 (patch)
tree42f6ee8609245cbb031b59d803770801f170bf52 /.editorconfig
parent7247d8dbdab37b97645642130cf27df9adde6300 (diff)
editorconfig: Remove wildcard rule.
Better have explictly opt-in rules instead, as there's always things that quite don't fit the generic rule.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index bcb9c924..f159f373 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -2,7 +2,15 @@
root = true
-[*]
+[*.{c,h,cpp,hpp,cc,hh,inl,rc}]
+indent_style = space
+indent_size = 4
+
+[*.py]
+indent_style = space
+indent_size = 4
+
+[{CMakeLists.txt,*.cmake}]
indent_style = space
indent_size = 4