From 1e7a19113628f30450903526c36db3cde0def543 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 3 May 2018 00:10:22 -0400 Subject: Add http://EditorConfig.org configuration Signed-off-by: Eli Schwartz Signed-off-by: Allan McRae --- HACKING | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'HACKING') diff --git a/HACKING b/HACKING index e32938cf..009a4682 100644 --- a/HACKING +++ b/HACKING @@ -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 -- cgit v1.2.3-24-g4f1b