coding-style: indentation in meson.build files
Currently, we use 2-space indentation
I quite dislike that. Indentation is there to make blocks visually clear, but 2-space indentation is hard to recognize. For example, systemd and kernel both use 8 space indentation for sources (kernel uses tabs, but if you don't configure a tab width of 8 spaces, it looks broken there).
I propose either 4 or 8 spaces instead.
systemd also uses 8 spaces indentation for meson files, so it must be good11!1
Please no tabs.
Beniamino remarked, that his emacs plugin defaults to 2 space indentation. But, like systemd, we can have a .dir-locals.el
to address that.
Indeed, looking at other projects, it does seem 2 space indentation is popular with meson. I wouldn't mind breaking with that though.
Opinions?
We don't need to fix all meson.build files right away. But can we first discuss which style we prefer? Once that is settles, I would adjust our meson.build files.