| 1 |
# EditorConfig |
| 2 |
# See this if your editor doesn't have built-in editorconfig support: |
| 3 |
# https://editorconfig.org/#download |
| 4 |
|
| 5 |
# apply to all .c and .h files |
| 6 |
[*.{c,h}] |
| 7 |
|
| 8 |
# top-most EditorConfig file |
| 9 |
root = true |
| 10 |
|
| 11 |
# Set default charset |
| 12 |
charset = utf-8 |
| 13 |
|
| 14 |
# Indentation |
| 15 |
# indent with tabs |
| 16 |
indent_style = tab |
| 17 |
# same tab size as kernel style |
| 18 |
indent_size = 8 |
| 19 |
|
| 20 |
# no trailing spaces |
| 21 |
trim_trailing_whitespace = true |
| 22 |
|
| 23 |
# line lenght, same as kernel stipulated |
| 24 |
max_line_length = 100 |
| 25 |
|
| 26 |
# all files have a final line |
| 27 |
insert_final_newline = true |
| 28 |
|
| 29 |
# end of line |
| 30 |
end_of_line = lf |