summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 83152ee36959da096ccc67fc477850cdcff95774 (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
# 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,dune-project,dune-workspace]
indent_style = space
indent_size = 1