From: Andreas Schneider Date: Sun, 4 Jul 2021 18:06:04 +0000 (+0200) Subject: Add editorconfig config file X-Git-Tag: talloc-2.3.3~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ced1d018ce1957633d8defe3597fbb5eba32ca17;p=thirdparty%2Fsamba.git Add editorconfig config file See https://editorconfig.org/ for details. (neo)vim: https://github.com/editorconfig/editorconfig-vim emacs: https://github.com/editorconfig/editorconfig-emacs Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Wed Jul 7 05:54:16 UTC 2021 on sn-devel-184 --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..118f88807ea --- /dev/null +++ b/.editorconfig @@ -0,0 +1,33 @@ +root = true + +[*] +charset = utf-8 +max_line_length = 80 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = false + +[*.{c,h,idl}] +indent_style = tab +indent_size = 8 +tab_width = 8 + +[*.{py,sh}] +indent_style = space +indent_size = 4 +tab_width = 4 + +[*.{pl,pm}] +indent_style = tab +indent_size = 8 +tab_width = 8 + +[wscript*] +indent_style = space +indent_size = 4 +tab_width = 4 + +[source4/heimdal/**.{c,h}] +indent_style = space +indent_size = 4 +tab_width = 4