diff options
author | Andreas Schneider <asn@samba.org> | 2021-07-04 20:06:04 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2021-07-07 05:54:16 +0000 |
commit | ced1d018ce1957633d8defe3597fbb5eba32ca17 (patch) | |
tree | fb79a655d850adf05c4711f1553ca32a147f7681 /.editorconfig | |
parent | de4e8a1af9564f6056f9af90867c2f013449051c (diff) | |
download | samba-ced1d018ce1957633d8defe3597fbb5eba32ca17.tar.gz |
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 <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jul 7 05:54:16 UTC 2021 on sn-devel-184
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 33 |
1 files changed, 33 insertions, 0 deletions
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 |