mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-10-31 11:36:18 +01:00
e4b3a88b0e
This should ensure that all editors which support https://editorconfig.org/ use 2-space indentation with spaces (not tabs) by default. This isn’t a full specification of the GLib coding style (see https://gitlab.gnome.org/GNOME/gtk/blob/HEAD/docs/CODING-STYLE.md for that), but is a correct subset of it. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
18 lines
245 B
INI
18 lines
245 B
INI
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
|
|
|