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 |
Andres Gomez | e2e03f8 | 2019-01-07 15:49:00 +0200 | [diff] [blame] | 14 | max_line_length = 78 |
Eric Engestrom | 3bd885d | 2016-08-30 21:02:18 +0100 | [diff] [blame] | 15 | |
| 16 | [{Makefile*,*.mk}] |
| 17 | indent_style = tab |
| 18 | |
| 19 | [{*.py,SCons*}] |
| 20 | indent_style = space |
| 21 | indent_size = 4 |
| 22 | |
| 23 | [*.pl] |
| 24 | indent_style = space |
| 25 | indent_size = 4 |
| 26 | |
| 27 | [*.m4] |
| 28 | indent_style = space |
| 29 | indent_size = 2 |
| 30 | |
| 31 | [*.yml] |
| 32 | indent_style = space |
| 33 | indent_size = 2 |
| 34 | |
| 35 | [*.patch] |
| 36 | trim_trailing_whitespace = false |
Dylan Baker | e5866af | 2017-09-30 08:47:24 -0700 | [diff] [blame] | 37 | |
Dylan Baker | 9838185 | 2019-05-23 10:21:05 -0700 | [diff] [blame] | 38 | [{meson.build,meson_options.txt}] |
Dylan Baker | e5866af | 2017-09-30 08:47:24 -0700 | [diff] [blame] | 39 | indent_style = space |
| 40 | indent_size = 2 |