Commit: editorconfig: don't change spaces to tabs in git commit message

0 views
Skip to first unread message

Christian Brabandt

unread,
11:15 AM (1 hour ago) 11:15 AM
to vim...@googlegroups.com
editorconfig: don't change spaces to tabs in git commit message

Commit: https://github.com/vim/vim/commit/47bb4bed4aa04424b5bdc5feb0bd05b5093886a1
Author: zeertzjq <zeer...@outlook.com>
Date: Sun Jun 14 15:05:50 2026 +0000

editorconfig: don't change spaces to tabs in git commit message

The text after "Problem:" and "Solution:" are aligned using spaces.

closes: #20519

Signed-off-by: zeertzjq <zeer...@outlook.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.editorconfig b/.editorconfig
index 1f45e91ac..e28165384 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -37,10 +37,13 @@ trim_trailing_whitespace = false
trim_trailing_whitespace = false

#
-# Some custom files do not use tabs
+# Some custom files and git commit message do not use tabs
#
[src/sign.c]
indent_style = space

[src/sound.c]
indent_style = space
+
+[.git/COMMIT_EDITMSG]
+indent_style = space
Reply all
Reply to author
Forward
0 new messages