I set my clang-format to tabs only (actual tabs ASCII 0x9, no alignment and there is a continuation tab instead), then anyone can set their editor to whatever tab length they feel like and look at their code however they want.
But no spaces on the left of my code.
This is for C, C++ and JSON.
I’ve set tabs to four spaces in vim because who the fuck defaults tab to eight spaces. That shit looks alien and pushes text off the screen fast.
deleted by creator
I don’t develop kernel modules, I use python. That’s pretty interesting though.
I set my clang-format to tabs only (actual tabs ASCII 0x9, no alignment and there is a continuation tab instead), then anyone can set their editor to whatever tab length they feel like and look at their code however they want.
But no spaces on the left of my code. This is for C, C++ and JSON.