Skip to content

Commit

Permalink
Add editorconfig file
Browse files Browse the repository at this point in the history
This is supported by many editors and an easy
way to ensure consistent indentation.
  • Loading branch information
TingPing authored and jpakkane committed Oct 18, 2016
1 parent d8cd194 commit 07a53ee
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space

[*.[ch]]
indent_size = 4

[*.cpp]
indent_size = 4

[*.py]
indent_size = 4

[*.vala]
indent_size = 4

[*.xml]
indent_size = 2

[meson.build]
indent_size = 2

0 comments on commit 07a53ee

Please sign in to comment.