From: Damien Lejay Date: Fri, 18 Jul 2025 18:18:11 +0000 (+0200) Subject: Update editorconfig and the documented C-style for sign.c/sound.c X-Git-Tag: v9.1.1565~3 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=58706ac040db18c0a501cafc0de5ba33c21458a6;p=thirdparty%2Fvim.git Update editorconfig and the documented C-style for sign.c/sound.c closes: #17786 Signed-off-by: Damien Lejay Signed-off-by: Christian Brabandt --- diff --git a/.editorconfig b/.editorconfig index 21d66600b9..1f45e91acc 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 621e7f6688..726a597782 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*