1 # EditorConfig is a file format and collection of text editor plugins 2 # for maintaining consistent coding styles between different editors 3 # and IDEs. Most popular editors support this either natively or via 4 # plugin. 5 # 6 # Check https://editorconfig.org for details. 7 8 root = true 9 10 [*] 11 end_of_line = lf 12 insert_final_newline = true 13 charset = utf-8 14 indent_style = space 15 16 [Makefile*] 17 indent_style = tab 18 indent_size = 8 19 file_type_emacs = makefile 20 21 [*.[ch]] 22 indent_style = tab 23 indent_size = 8 24 25 [*.py] 26 indent_size = 4 27 28 [meson.build] 29 indent_style = space 30 indent_size = 2 31