Permalink
Browse files

[tools] add more defaults to .editorconfig

The tab default also applied to Scala files which could lead to editing
problems in IntelliJ.
  • Loading branch information...
1 parent f73a12e commit 76913686cbfad648d3d5736f3b975b6a27982acd @mxm mxm committed Nov 27, 2015
Showing with 12 additions and 2 deletions.
  1. +12 −2 .editorconfig
View
@@ -1,8 +1,18 @@
root = true
[*]
-indent_style = tab
-indent_size = 4
charset = utf-8
end_of_line = lf
insert_final_newline = true
+
+[*.{java,xml}]
+indent_style = tab
+indent_size = 4
+
+[*.scala]
+indent_style = space
+indent_size = 2
+
+[*.py]
+indent_style = space
+indent_size = 4

0 comments on commit 7691368

Please sign in to comment.