diff --git a/.editorconfig b/.editorconfig index 761c342..e736bc5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,9 +2,14 @@ root = true [*] -indent_style = tab -indent_size = 4 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true + +[*.{c,h}] +indent_style = true + +[*.lua] +indent_style = space +indent_size = 2