summaryrefslogtreecommitdiffstats
path: root/.editorconfig
blob: 172675f4365210899c255880db4dd2923385dfdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

[*.{c,cpp,h{,.in}}]
indent_style = space
indent_size = 4

[*.{cmake{,.in},json,sh,yml}]
indent_style = space
indent_size = 2

[CMakeLists.txt]
indent_style = space
indent_size = 2

[*.{adoc,md}]
indent_style = space
indent_size = 2