diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-04-09 00:54:22 +0200 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2020-04-09 07:38:08 +0100 |
commit | d5a6f5e22449987dfa636ef181330be028d0d904 (patch) | |
tree | 86f3aafc60dc5d0750cfb78d5d6c084160e49526 /.editorconfig | |
parent | d071e48bfb57e34f6c3ac7f0fec870dd5658deee (diff) |
Replace emacs modeline with .editorconfig
emacs mode got removed with:
git ls-tree HEAD -r --name-only | xargs sed -i '/Mode: C/d'
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..df489ca --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# EditorConfig is a file format and collection of text editor plugins +# for maintaining consistent coding styles between different editors +# and IDEs. Most popular editors support this either natively or via +# plugin. +# +# Check https://editorconfig.org for details. + +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 + +[*.{c,h}] +indent_style = space +indent_size = 4 |