2017-09-03 10:54:23 +02:00
|
|
|
# EditorConfig is awesome: http://EditorConfig.org
|
|
|
|
|
|
|
|
# top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
|
|
[*]
|
|
|
|
end_of_line = lf
|
|
|
|
insert_final_newline = true
|
|
|
|
|
|
|
|
# Matches multiple files with brace expansion notation
|
|
|
|
# Set default charset
|
2018-08-23 17:34:10 +02:00
|
|
|
[{etc,include,lib,plugins,src,tests,tools,common}/**.{c,h,proto,cpp,hpp,h.in,hpp.in}]
|
2017-09-03 10:54:23 +02:00
|
|
|
charset = utf-8
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 8
|
|
|
|
trim_trailing_whitespace=true
|
2019-03-22 14:00:55 +01:00
|
|
|
|
|
|
|
[*.conf]
|
|
|
|
charset = utf-8
|
|
|
|
indent_style = tab
|
2019-03-26 14:02:31 +01:00
|
|
|
indent_size = 8
|
2023-06-13 10:23:38 +02:00
|
|
|
|
|
|
|
[*.nix]
|
|
|
|
charset = utf-8
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
trim_trailing_whitespace=true
|