From 7f9d8c46f0bf036f308cb5f4892095db8a6bbf6f Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Sun, 27 Oct 2024 20:54:35 +0800 Subject: [PATCH] style: stop inserting final_newline to markdown --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index dd897c23..92a9b544 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,6 +6,9 @@ end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true +[*.md] +insert_final_newline = false + [*.rs] indent_style = space indent_size = 2