summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorAlistair Thomas <astavale@yahoo.co.uk>2017-08-22 16:39:30 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2017-08-27 10:16:22 +0200
commit507c65c7ac655c1798a33f38a9a52ed10c8da63b (patch)
tree8aa2b05abad7f898b94c422f26009416417536aa /.editorconfig
parent17bf2bffc0e2d9effc6a5784661ef7b72e143ec9 (diff)
downloadvala-507c65c7ac655c1798a33f38a9a52ed10c8da63b.tar.gz
Add .editorconfig file
EditorConfig (http://editorconfig.org/) has become the de facto standard for defining the use of white space in project files. Code editors then choose the right settings automatically when a file is edited. https://bugzilla.gnome.org/show_bug.cgi?id=786620
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..591993262
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+
+[*.{vala,vapi,gs,metadata}]
+indent_style = tab
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[Makefile.am]
+indent_style = tab
+
+[meson.build]
+trim_trailing_whitespace = true