.editorconfig 411 Bytes
Newer Older
1 2 3 4 5 6 7
# EditorConfig is awesome:
# https://EditorConfig.org
root = true

# Global rules (applies to all files).
[*]
end_of_line = lf
Zander's avatar
Zander committed
8 9 10
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
11 12 13 14 15 16 17 18 19 20 21 22
indent_size = 4

# Define rules for individual file names.
[*.{py,c,h,cpp}]
max_line_length = 80

# Meson reads better with short lines.
[meson.build]
max_line_length = 60

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