# Mirrors .clang-format (Mozilla) for the editors that read this instead.
root = true

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

[*.{hpp,ipp,cpp,h,cc}]
indent_style = space
indent_size = 2
max_line_length = 80

[*.{cmake,txt,yml,yaml,json}]
indent_style = space
indent_size = 2

[*.py]
indent_style = space
indent_size = 4

[*.md]
# Trailing whitespace is a hard line break in Markdown.
trim_trailing_whitespace = false

[include/vinecopulib/misc/nlohmann_json.hpp]
# Vendored verbatim.
indent_size = unset
max_line_length = unset
