editorconfig: set editing style for comment and hlsearch package

closes: #16805

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/.editorconfig b/.editorconfig
index fced1a8..21d6660 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -24,6 +24,10 @@
 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