summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-11-07 17:05:26 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-11-07 17:05:26 +0100
commitf21106e2e0ca43009a09e14439e14b04f15e17de (patch)
tree694e8b67d7144a79dc89787a0169f1e4022dd46a /.editorconfig
parentaf9983cd6f0535b1088ac130089897bbb86f81e5 (diff)
downloadcrep-f21106e2e0ca43009a09e14439e14b04f15e17de.tar.gz
Added basic help and editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..364f1f3
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,23 @@
+root = true
+
+[*]
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+end_of_line = lf
+
+[Makefile]
+indent_style = tab
+indent_size = 4
+
+[*.c]
+indent_style = space
+indent_size = 2
+
+[*.{css,html,js,django}]
+indent_style = space
+indent_size = 2
+
+[*.go]
+indent_style = tab
+indent_size = 4