diff options
| author | ( <paren@disroot.org> | 2022-10-11 16:22:32 +0100 |
|---|---|---|
| committer | Christopher Baines <mail@cbaines.net> | 2022-11-05 11:26:55 +0100 |
| commit | 6123f0e467aa5249f0a497c89ce434222702a535 (patch) | |
| tree | 696cc80eeaa8b70038372391f0957d7f499ed470 /.editorconfig | |
| parent | e67f9d7ab0c4bc957a918987a347a9ca429f3b0a (diff) | |
Add EditorConfig specification.
* .editorconfig: New file.
Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to '.editorconfig')
| -rw-r--r-- | .editorconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..bc68ff24c82 --- /dev/null +++ b/.editorconfig | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | root = true | ||
| 2 | |||
| 3 | [*.{c,h,cpp,hpp,el,scm,ac,am,m4,po}{,.in}] | ||
| 4 | end_of_line = lf | ||
| 5 | insert_final_newline = true | ||
| 6 | charset = utf-8 | ||
| 7 | trim_trailing_whitespace = true | ||
| 8 | |||
| 9 | [*.{c,h,cpp,hpp,ac,am,m4,el,scm}{,.in}] | ||
| 10 | max_line_length = 85 | ||
| 11 | |||
| 12 | [*.{c,h,cpp,hpp,ac,m4,el,scm}{,.in}] | ||
| 13 | indent_style = space | ||
| 14 | |||
| 15 | [*.{c,h,cpp,hpp}{,.in}] | ||
| 16 | indent_size = 4 | ||
