]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
Update editorconfig and the documented C-style for sign.c/sound.c
authorDamien Lejay <damien@lejay.be>
Fri, 18 Jul 2025 18:18:11 +0000 (20:18 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 18 Jul 2025 18:18:11 +0000 (20:18 +0200)
closes: #17786

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
.editorconfig
runtime/doc/develop.txt

index 21d66600b9d5e8ec59a389268fce5891973688ac..1f45e91accff23a388ac5db80b53b5a45e398bcd 100644 (file)
@@ -35,3 +35,12 @@ trim_trailing_whitespace = false
 [src/testdir/test*.vim]
 # Some tests need trailing whitespaces, for example `set showbreak=>>\ `
 trim_trailing_whitespace = false
+
+#
+# Some custom files do not use tabs
+#
+[src/sign.c]
+indent_style = space
+
+[src/sound.c]
+indent_style = space
index 621e7f66884e43a98600c791d7220b1e6ca27e9c..726a597782b83ae0af7db024af2ef7b1de5b6cb4 100644 (file)
@@ -1,4 +1,4 @@
-*develop.txt*   For Vim version 9.1.  Last change: 2025 May 05
+*develop.txt*   For Vim version 9.1.  Last change: 2025 Jul 18
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -237,6 +237,10 @@ you don't need to do anything due to the |modeline|.
 
 For other editors an `.editorconfig` is provided at the root of the repo.
 
+For the source files `sign.c` and `sound.c` and any new file use only spaces,
+no tabs. In addition, any new file must include a modeline with `set et` to
+pass the indentation test.
+
 
 DECLARATIONS                                           *style-declarations*