diff --git a/.editorconfig b/.editorconfig index 28bb212ebd..81dc8b4ad3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,6 +9,9 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +[*.diff] +trim_trailing_whitespace = false + [Makefile] indent_style = tab