1# EditorConfig is awesome: https://EditorConfig.org
2
3# top-most EditorConfig file
4root = true
5
6# Unix-style newlines with a newline ending every file
7[*]
8charset = utf-8
9end_of_line = lf
10trim_trailing_whitespace = true
11
12# Tab indentation for our own C source code
13[*.{c,h}]
14indent_style = tab
15insert_final_newline = true
16
17# 4 spaces indentation for librtprocess
18[subprojects/librtprocess/**.{c,h}]
19indent_style = space
20indent_size = 4
21
22# 2 spaces indentation .gitlab-ci.yml, meson.build, README.md, siril3.glade, siril-shortcut.ui
23[*.{yml,build,md,glade,ui}]
24indent_style = space
25indent_size = 2
26
27# 4 spaces indentation for siril.css
28[*.css]
29indent_style = space
30indent_size = 4
31
32# Tab indentation for configure.ac and Makefile.am
33[*.{ac,am}]
34indent_style = tab
35