diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..dfa12dd2 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space + +[*.c] +indent_size = 2 +tab_width = 8 +max_line_length = 120 + +# Tab indentation (no size specified) +[Makefile] +indent_style = tab