From 618074a0535a700c60456f7c28db477c559989ec Mon Sep 17 00:00:00 2001 From: Jay Thomas Date: Sat, 14 Oct 2017 10:55:33 -0400 Subject: [PATCH] Add editorconfig (#997) Add editorconfig --- .editorconfig | 14 ++++++++++++++ .gitignore | 1 + 2 files changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..d9b95d6f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# Top-most EditorConfig file +root = true + +# Match and apply these rules for all file +# types you open in your code editor +[*] +# Unix-style newlines +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true diff --git a/.gitignore b/.gitignore index 30ab9ad6..2a991808 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /init.vim /doc/tags .* +!.editorconfig *.obj tags