zeniba-nsxiv/.editorconfig
NRK 4df97db1cd editorconfig: only apply to .c and .h files (#433)
otherwise, it ends up applying to the manpage and git commit messages
too.

Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/433
Reviewed-by: eylles <eylles@noreply.codeberg.org>
Reviewed-by: explosion-mental <explosion-mental@noreply.codeberg.org>
2023-04-10 17:13:44 +00:00

31 lines
555 B
INI

# EditorConfig
# See this if your editor doesn't have built-in editorconfig support:
# https://editorconfig.org/#download
# apply to all .c and .h files
[*.{c,h}]
# 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