diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..cf30e9d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = false + +[*.{c,C,cpp,cxx,cc,h,hpp}] +indent_style = space +indent_size = 2 + +[{Makefile,makefile,*.{mk,make,makefile}] +indent_style = tab + +[*.md] +trim_trailing_whitespace = true