Add clang format file

This is a slightly modified version of Ikey's format for usysconf found here: https://github.com/solus-project/usysconf/blob/master/.clang-format

Modifications are to change to tab indentation, and tab/indent widths of 4
You'll never please everyone, but I find tabs for indentation is the most pragmatic approach to keeping most people happy about indent length arguments.
This commit is contained in:
Marc Di Luzio
2018-01-15 12:22:02 +00:00
parent 47b76f1496
commit ee1c51d0b0
2 changed files with 91 additions and 0 deletions

View File

@@ -104,6 +104,13 @@ Add `-lgamemodeauto` to linker arguments and distribute `libgamemodeauto.so` wit
#### Option 3: Distribute and script
Distribute `libgamemodeauto.so` with the game and add to LD\_PRELOAD in a launch script
---
## Pull Requests
Pull requests must match with the coding style found in the `.clang-format` file
```
clang-format -i $(find . -name '*.[ch]')
```
---
## TODO