summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..5db1c9d
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+# EditorConfig (https://editorconfig.com) Configuration for Fossil
+#
+# Following https://fossil-scm.org/fossil/doc/trunk/www/style.wiki
+#
+
+# Defaults for all files
+[*]
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+indent_size = 2
+
+[{Makefile,Makefile.*,*.mk}]
+indent_style = tab