Eric Engestrom | 3bd885d | 2016-08-30 21:02:18 +0100 | [diff] [blame] | 1 | # To use this config on you editor, follow the instructions at: |
| 2 | # http://editorconfig.org |
| 3 | |
| 4 | root = true |
| 5 | |
| 6 | [*] |
| 7 | charset = utf-8 |
| 8 | insert_final_newline = true |
Eric Anholt | dd12119 | 2016-12-27 09:00:14 -0800 | [diff] [blame^] | 9 | tab_width = 8 |
Eric Engestrom | 3bd885d | 2016-08-30 21:02:18 +0100 | [diff] [blame] | 10 | |
| 11 | [*.{c,h,cpp,hpp,cc,hh}] |
| 12 | indent_style = space |
| 13 | indent_size = 3 |
| 14 | |
| 15 | [{Makefile*,*.mk}] |
| 16 | indent_style = tab |
| 17 | |
| 18 | [{*.py,SCons*}] |
| 19 | indent_style = space |
| 20 | indent_size = 4 |
| 21 | |
| 22 | [*.pl] |
| 23 | indent_style = space |
| 24 | indent_size = 4 |
| 25 | |
| 26 | [*.m4] |
| 27 | indent_style = space |
| 28 | indent_size = 2 |
| 29 | |
| 30 | [*.yml] |
| 31 | indent_style = space |
| 32 | indent_size = 2 |
| 33 | |
| 34 | [*.patch] |
| 35 | trim_trailing_whitespace = false |