Adding a .editorconfig allows the IDE's to do some basic auto formating.
This file is vendor/IDE neutral and supported by a few.
See https://editorconfig.org/
I've configured hard tabs for all sources (.c/.h/cmake) with a 4 char indentation.
It seems like the oni sources are formatted that way, so it makes sense imho.
Adding a
.editorconfig
allows the IDE's to do some basic auto formating. This file is vendor/IDE neutral and supported by a few. See https://editorconfig.org/I've configured hard tabs for all sources (.c/.h/cmake) with a 4 char indentation. It seems like the oni sources are formatted that way, so it makes sense imho.