Commit: editorconfig: set editing style for comment and hlsearch package

2 views
Skip to first unread message

Christian Brabandt

unread,
Mar 6, 2025, 3:30:09 PM3/6/25
to vim...@googlegroups.com
editorconfig: set editing style for comment and hlsearch package

Commit: https://github.com/vim/vim/commit/25e833f4ec3de8e7286cd5a43d031ba7064c9f9a
Author: Maxim Kim <hab...@gmail.com>
Date: Thu Mar 6 21:13:25 2025 +0100

editorconfig: set editing style for comment and hlsearch package

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

Signed-off-by: Maxim Kim <hab...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.editorconfig b/.editorconfig
index fced1a879..21d66600b 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -24,6 +24,10 @@ trim_trailing_whitespace = false
indent_style = space
indent_size = 2

+[runtime/pack/dist/opt/{comment,nohlsearch}/**.vim]
+indent_style = space
+indent_size = 4
+
[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