2021-09-13 14:00:02 +02:00
|
|
|
# EditorConfig
|
2023-02-10 06:51:53 +01:00
|
|
|
# See this if your editor doesn't have built-in editorconfig support:
|
|
|
|
# https://editorconfig.org/#download
|
2021-09-13 14:00:02 +02:00
|
|
|
|
2023-04-10 19:13:44 +02:00
|
|
|
# apply to all .c and .h files
|
|
|
|
[*.{c,h}]
|
2021-09-13 14:00:02 +02:00
|
|
|
|
|
|
|
# top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# Set default charset
|
|
|
|
charset = utf-8
|
|
|
|
|
|
|
|
# Indentation
|
|
|
|
# indent with tabs
|
|
|
|
indent_style = tab
|
|
|
|
# same tab size as kernel style
|
|
|
|
indent_size = 8
|
|
|
|
|
|
|
|
# no trailing spaces
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
|
|
|
|
# line lenght, same as kernel stipulated
|
|
|
|
max_line_length = 100
|
|
|
|
|
|
|
|
# all files have a final line
|
|
|
|
insert_final_newline = true
|
|
|
|
|
|
|
|
# end of line
|
|
|
|
end_of_line = lf
|