From 1f04abc84fc6678e82e5b555902e76430b079e6d Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 21 Oct 2015 02:08:53 +0900 Subject: [PATCH 1/4] Update editorconfig --- .editorconfig | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index 94b0ee9..30e74f2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,10 +1,11 @@ root = true [*] +indent_style = space +indent_size = 2 +tab_width = 4 end_of_line = lf +#charset = utf-8 +trim_trailing_whitespace = true insert_final_newline = true -charset = utf-8 - -[*.js] -indent_size = 2 -indent_style = space +max_line_length = 80 From abd587242af4498d195ba37f0e85c9adea655a9e Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 21 Oct 2015 02:12:00 +0900 Subject: [PATCH 2/4] Add editorconfig properties for c --- .editorconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.editorconfig b/.editorconfig index 30e74f2..cdcab8e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,8 +4,13 @@ root = true indent_style = space indent_size = 2 tab_width = 4 + end_of_line = lf #charset = utf-8 + trim_trailing_whitespace = true insert_final_newline = true max_line_length = 80 + +[*.c] +indent_size = 4 From c275cf1f5f386979ed2659225225aa0859852e98 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 22 Oct 2015 00:41:20 +0900 Subject: [PATCH 3/4] Do not set indent_size by default --- .editorconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index cdcab8e..af4a1ac 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,8 +2,8 @@ root = true [*] indent_style = space -indent_size = 2 -tab_width = 4 +#indent_size = 2 +#tab_width = 4 end_of_line = lf #charset = utf-8 From 9ffd5a2afb9fb17f7e8b8d2d935390feb03aef17 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 22 Oct 2015 00:42:16 +0900 Subject: [PATCH 4/4] Add editorconfig for windows dir --- win/.editorconfig | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 win/.editorconfig diff --git a/win/.editorconfig b/win/.editorconfig new file mode 100644 index 0000000..684bbab --- /dev/null +++ b/win/.editorconfig @@ -0,0 +1,2 @@ +[*] +end_of_line = crlf