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

# top-most EditorConfig file
root = true

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

[*.{rs, toml, yml, yaml, json, md, sh, c, h, cpp, hpp, cc}]
charset = utf-8

[*.{rs, c, h, cpp, hpp, cc}]
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[*.{toml, yml, yaml}]
trim_trailing_whitespace = true
indent_style = space
indent_size = 2