# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true

# Tab indentation for our own C source code
[*.{c,h}]
indent_style = tab
insert_final_newline = true

# 4 spaces indentation for librtprocess
[subprojects/librtprocess/**.{c,h}]
indent_style = space
indent_size = 4

# 2 spaces indentation .gitlab-ci.yml, meson.build, README.md, siril3.glade, siril-shortcut.ui
[*.{yml,build,md,glade,ui}]
indent_style = space
indent_size = 2

# 4 spaces indentation for siril.css
[*.css]
indent_style = space
indent_size = 4

# Tab indentation for configure.ac and Makefile.am
[*.{ac,am}]
indent_style = tab
