mirror of
https://github.com/djcb/mu.git
synced 2024-06-27 07:35:16 +02:00
7d17b324ad
Update .editorconfig, and add .clang-format. Note that current code does _not_ follow that, but we'll slowly get there.
35 lines
873 B
INI
35 lines
873 B
INI
#-*-mode:conf-*-
|
|
# editorconfig file (see EditorConfig.org), with some
|
|
# lowest-denominator settings that should work for many editors.
|
|
|
|
|
|
root = true # this is the top-level
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
|
|
# The "best" answer is "tabs-for-indentation; spaces for alignment".
|
|
|
|
[*.{cc,cpp,hh,hpp}]
|
|
indent_style = tab
|
|
indent_size = 8
|
|
max_line_length = 100
|
|
|
|
[*.{c,h}]
|
|
indent_style = tab
|
|
indent_size = 8
|
|
max_line_length = 80
|
|
|
|
[configure.ac]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
max_line_length = 100
|
|
|
|
[Makefile.am]
|
|
indent_style = tab
|
|
indent_size = 8
|
|
max_line_length = 100
|