.editorconfig
raw| 1 | ; Top-most EditorConfig file |
| 2 | root = true |
| 3 | |
| 4 | ; Global settings |
| 5 | [*] |
| 6 | end_of_line = LF |
| 7 | indent_style = space |
| 8 | trim_trailing_whitespace = true |
| 9 | insert_final_newline = true |
| 10 | |
| 11 | ; C source files |
| 12 | [*.{h,c}] |
| 13 | indent_size = 2 |
| 14 | |
| 15 | ; CMake |
| 16 | [CMakeLists.txt] |
| 17 | indent_size = 4 |
| 18 | |
| 19 | [*.cmake] |
| 20 | indent_size = 4 |