summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 31a21df10ead62b33bb677b3ea200455d4cddca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.rs]
indent_style = space
indent_size = 4

# line length is only supported with vim and emacs
max_line_length = 100

[Makefile]
# Tab indentation for Makefiles
indent_style = tab
tab_width = 4

# line length is only supported with vim and emacs
max_line_length = 80

[*.html]
indent_style = space
indent_size = 4

# line length is only supported with vim and emacs
max_line_length = 80

[*.{md,yaml,yml,nix}]
indent_style = space
indent_size = 2

# line length is only supported with vim and emacs
max_line_length = 80