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 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 36