diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2020-02-26 09:33:18 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2020-02-27 05:58:05 +0000 |
commit | 13775b56e5b4c5593d0d01eedf1f01f232545a0e (patch) | |
tree | fe348a4b326d0a21d5fe22c9717f1c87e0398de0 /.editorconfig | |
parent | cda3dc664a6243f9693cd2629de57fe941dc76b6 (diff) |
Use editorconfig instead of a sprinkling of :vim: instructions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..81c277e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{c,h}] +indent_style = tab +tab_width = 8 + +[*.py] +indent_style = space +indent_size = 4 +charset = utf-8 + +[*.{yaml,tmpl}] +indent_style = space +indent_size = 2 +charset = utf-8 |