From 88e7c1bd8d074aef349ce9e7e4e6ac53c93254d5 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 11 Jan 2016 19:47:51 +0100 Subject: [PATCH] Add editorconfig configuration file --- .editorconfig | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..31a21df1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,35 @@ +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 + +[*.rs] +indent_style = space +indent_size = 4 + +# line length is only supported with vim and emacs +max_line_length = 100 + +[Makefile] +# Tab indentation for Makefiles +indent_style = tab +tab_width = 4 + +# line length is only supported with vim and emacs +max_line_length = 80 + +[*.html] +indent_style = space +indent_size = 4 + +# line length is only supported with vim and emacs +max_line_length = 80 + +[*.{md,yaml,yml,nix}] +indent_style = space +indent_size = 2 + +# line length is only supported with vim and emacs +max_line_length = 80 +