mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
0e9f841974
To ease the initial hurdle of using the proper formatting across files, introduce a simple .editorconfig file. Nearly every common editor supports it OOTB these days, including the GitHub and GitLab web editors. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
26 lines
390 B
INI
26 lines
390 B
INI
# To use this config on you editor, follow the instructions at:
|
|
# https://editorconfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
insert_final_newline = true
|
|
indent_size = 4
|
|
indent_style = space
|
|
tab_width = 8
|
|
trim_trailing_whitespace = true
|
|
|
|
[{*.{c,cpp,h}}]
|
|
max_line_length = 80
|
|
|
|
[{CMakeLists.txt,*.cmake}]
|
|
max_line_length = 80
|
|
indent_size = 2
|
|
|
|
[*.html]
|
|
indent_size = 2
|
|
|
|
[*.yml]
|
|
indent_size = 2
|