Merge branch 'editorconfig' into 'main'

docs: Add .editorconfig file

See merge request GNOME/glib!2191
This commit is contained in:
Philip Withnall 2021-11-01 18:36:38 +00:00
commit 40f995e0aa

17
.editorconfig Normal file
View File

@ -0,0 +1,17 @@
root = true
[*]
charset = utf-8
end_of_line = lf
[*.[ch]]
indent_size = 2
indent_style = space
insert_final_newline = true
# For the legacy tabs which still exist in the code:
tab_width = 8
[meson.build]
indent_size = 2
indent_style = space