summaryrefslogtreecommitdiffstats
path: root/src/gtk/.editorconfig
blob: e1ee5052ae3ade473d8ec712becbc15cdcfdf0fe (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
# SPDX-FileCopyrightText: 2021 The GTK Authors
# SPDX-License-Identifier: CC0-1.0

[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true

[*.[ch]]
indent_size = 2
indent_style = space
insert_final_newline = true
# For the legacy tabs which still exist in the code:
tab_width = 8

[*.ui]
indent_size = 2
indent_style = space
insert_final_newline = true

[*.xml]
indent_size = 2
indent_style = space

[meson.build]
indent_size = 2
indent_style = space

[*.md]
max_line_length = 80