mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
To make indentation work with less effort. The modeline was copied from libostree with minor modification and the .editorconfig from GLib. The advantage of having both a modeline and an editorconfig is we can work out of the box on more editor setups, and the modeline allows us to specify the style with a lot more fine grained control.
18 lines
232 B
INI
18 lines
232 B
INI
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
|
|
[*.[ch]]
|
|
indent_size = 2
|
|
indent_style = space
|
|
insert_final_newline = true
|
|
# For any stray tabs that may sneak in:
|
|
tab_width = 8
|
|
|
|
[meson.build]
|
|
indent_size = 2
|
|
indent_style = space
|
|
|