diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-01-11 19:47:51 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-01-11 19:47:51 +0100 |
commit | 88e7c1bd8d074aef349ce9e7e4e6ac53c93254d5 (patch) | |
tree | aff5ba9018d769f04db05bb143108b29bff7e721 /.editorconfig | |
parent | c4adca9dc311541e29ecb98daf5ca5e3a0f69ff0 (diff) |
Add editorconfig configuration file
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 35 |
1 files changed, 35 insertions, 0 deletions
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 + |