.editorconfig
raw| 1 | # Shared editor configuration <https://editorconfig.org> |
| 2 | |
| 3 | # This is the top-most EditorConfig file which should apply to files below |
| 4 | root = true |
| 5 | |
| 6 | [*] |
| 7 | charset = utf-8 |
| 8 | insert_final_newline = true |
| 9 | |
| 10 | [*.cxx] |
| 11 | indent_size = 2 |
| 12 | indent_style = space |
| 13 | |
| 14 | [*.{c,cpp,h}] |
| 15 | indent_size = 3 |
| 16 | indent_style = space |
| 17 | |
| 18 | [*.sh] |
| 19 | indent_size = 8 |
| 20 | indent_style = tab |