Commit: editorconfig: don't trim trailing whitespaces in runtime/doc

3 views
Skip to first unread message

Christian Brabandt

unread,
Nov 15, 2024, 2:00:14 PM11/15/24
to vim...@googlegroups.com
editorconfig: don't trim trailing whitespaces in runtime/doc

Commit: https://github.com/vim/vim/commit/54996ecda00b908832e3a880387894d7212f808e
Author: Luca Saccarola <github...@aleeas.com>
Date: Fri Nov 15 19:53:44 2024 +0100

editorconfig: don't trim trailing whitespaces in runtime/doc

closes: https://github.com/vim/vim/issues/16058

Signed-off-by: Luca Saccarola <github...@aleeas.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.editorconfig b/.editorconfig
index bda9fd289..a586af40e 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -19,3 +19,7 @@ indent_size = 2
# Markdown uses trailing whitespaces to do an hard line break
# https://spec.commonmark.org/0.31.2/#hard-line-breaks
trim_trailing_whitespace = false
+
+[runtime/doc/**.txt]
+# It can mess up some documentation by trying to strip trailing whitespaces
+trim_trailing_whitespace = false
Reply all
Reply to author
Forward
0 new messages