[gitg] Setup editorconfig



commit 50b435764570aa327994e67d17af621f9c21c9bf
Author: Gaurav Agrawal <agrawalgaurav1999 gmail com>
Date:   Tue Jun 4 15:11:59 2019 +0530

    Setup editorconfig

 .editorconfig | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
---
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..8b19f001
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,39 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.vala]
+indent_size = 4
+indent_style = tab
+insert_final_newline = true
+max_line_length = 100
+
+[*.{c,h}]
+indent_size = 2
+indent_style = space
+insert_final_newline = true
+max_line_length = 100
+
+[*.css]
+indent_size = 2
+indent_style = space
+
+[*.{ui,xml,xml.in}]
+indent_size = 2
+indent_style = space
+
+[*.py]
+indent_size = 4
+indent_style = space
+
+[*.json]
+indent_style = space
+indent_size = 4
+
+[meson.build]
+indent_size = 2
+indent_style = space


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]