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 9 tab_width = 8 10 11 [*.{c,h,cpp,hpp,cc,hh}] 12 indent_style = space 13 indent_size = 3 14 max_line_length = 78 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 37 38 [meson.build,meson_options.txt] 39 indent_style = space 40 indent_size = 2 41