blob: d7cd0de135f1e2ee04da1fa4e5be6d687f1f35a0 (
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
36
37
38
|
# http://editorconfig.org/
# Tabs are preferred where possible; this is the only accessible choice
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = tab
trim_trailing_whitespace = true
[*.rst]
indent_style = unset
indent_size = unset
# Spaces are practically required for Nix C++ as magic strings won’t work
[*.nix]
indent_style = space
indent_size = 3
[dune]
indent_style = space
indent_size = 1
[dune-project]
indent_style = space
indent_size = 1
[dune-workspace]
indent_style = space
indent_size = 1
# Dune is generating Opam files so I have no control. Should I skip Dune here?
[*.opam]
indent_style = unset
indent_size = unset
|