diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-05-03 00:10:22 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-05-14 09:59:20 +1000 |
commit | 1e7a19113628f30450903526c36db3cde0def543 (patch) | |
tree | d4214828ff61970651c985e5ac8250718ff9038c /HACKING | |
parent | 076b6184de2b20e9b26225d93f6f3a7030504109 (diff) | |
download | pacman-1e7a19113628f30450903526c36db3cde0def543.tar.xz |
Add http://EditorConfig.org configuration
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -11,13 +11,8 @@ Coding Style 1. All code should be indented with tabs. (Ignore the use of only spaces in this file.) A tab size of two spaces is used when calculating line widths, - which should be a maximum of 80 characters. By default, source files - contain the following Vim modeline: -+ -[source,C] -------------------------------------------- -/* vim: set noet: */ -------------------------------------------- + which should be a maximum of 80 characters. An EditorConfig file is used + to set this project-wide default. 2. When opening new blocks such as 'while', 'if', or 'for', leave the opening brace on the same line as the beginning of the codeblock. The closing brace |