diff --git a/.editorconfig b/.editorconfig index e3ba95ba4b..f0ea6fbc12 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,15 +1,9 @@ root = true -; Standard conventions for the D programming language repository are: -; no tab characters -; indents are by 4 spaces -; line endings are LF -; no trailing whitespace -; last character in file is an LF -[*] +[*.{c,h,d,di,dd}] +end_of_line = lf +insert_final_newline = true indent_style = space indent_size = 4 trim_trailing_whitespace = true -insert_final_newline = true charset = utf-8 -end_of_line = lf