Update editorconfig and the documented C-style for sign.c/sound.c
Commit:
https://github.com/vim/vim/commit/58706ac040db18c0a501cafc0de5ba33c21458a6
Author: Damien Lejay <[email protected]>
Date: Fri Jul 18 20:18:11 2025 +0200
Update editorconfig and the documented C-style for sign.c/sound.c
closes: https://github.com/vim/vim/issues/17786
Signed-off-by: Damien Lejay <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/.editorconfig b/.editorconfig
index 21d66600b..1f45e91ac 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -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
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index 621e7f668..726a59778 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -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*
--
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1ucpqN-00Df6a-75%40256bit.org.