aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
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 @@
1root = true
2
3[*]
4charset = utf-8
5trim_trailing_whitespace = true
6insert_final_newline = true
7end_of_line = lf
8
9[Makefile]
10indent_style = tab
11indent_size = 4
12
13[*.c]
14indent_style = space
15indent_size = 2
16
17[*.{css,html,js,django}]
18indent_style = space
19indent_size = 2
20
21[*.go]
22indent_style = tab
23indent_size = 4