root = true

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

# Read by lua-language-server, so on-save formatting matches the majority of
# the tree rather than drifting per editor.
[*.lua]
indent_style = space
indent_size = 2
max_line_length = 120

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