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

Commit: 
https://github.com/vim/vim/commit/54996ecda00b908832e3a880387894d7212f808e
Author: Luca Saccarola <github.e4...@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.e4...@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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1tC1Y5-007SAs-L3%40256bit.org.

Raspunde prin e-mail lui