diff options
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..3f9e475a6ac --- /dev/null +++ b/.editorconfig @@ -0,0 +1,44 @@ +# To use this config on you editor, follow the instructions at: +# http://editorconfig.org + +root = true + +[*] +charset = utf-8 +insert_final_newline = true +tab_width = 8 + +[*.{c,h,cpp,hpp,cc,hh}] +indent_style = space +indent_size = 3 +max_line_length = 78 + +[{Makefile*,*.mk}] +indent_style = tab + +[{*.py,SCons*}] +indent_style = space +indent_size = 4 + +[*.pl] +indent_style = space +indent_size = 4 + +[*.m4] +indent_style = space +indent_size = 2 + +[*.yml] +indent_style = space +indent_size = 2 + +[*.html] +indent_style = space +indent_size = 2 + +[*.patch] +trim_trailing_whitespace = false + +[{meson.build,meson_options.txt}] +indent_style = space +indent_size = 2 |