| 123456789101112131415161718192021222324252627282930313233 | # this should work for all editors that support .editorconfig!## on debian, emacs users should install elpa-editorconfig and vim# users should install vim-editorconfig.root = true[*]indent_style = space# this remove final newline in some editors, instead of inserting it# insert_final_newline = truetrim_trailing_whitespace = trueend_of_line = lfcharset = utf-8max_line_length = 79[*.py]indent_size = 4# to do not have final newline in python codeinsert_final_newline = true[*.c, *.h]# done in tests and other cases do not use 2 spaces identations, so this# should be commented on those casesindent_size = 2trim_trailing_whitespace = true[Makefile, *.am]indent_style = tab[*-spec.txt]# specs seem to have 76 chars max per lines as RFCsmax_line_length = 76
 |