Re: [PATCH] Documentation: indent-with-non-tab uses "equivalent tabs" not 8
"Wesley J. Landaker" <wjl@icecavern.net> writes:
Show 27 quoted lines
> From: "Wesley J. Landaker" <wjl@icecavern.net>
>
> Update the documentation of the core.whitespace option
> "indent-with-non-tab" to correctly reflect that it catches the use of
> spaces instead of the equivalent tabs, rather than a fixed number.
>
> Signed-off-by: Wesley J. Landaker <wjl@icecavern.net>
> ---
> Documentation/config.txt | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index 6416cae..11f320b 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -559,8 +559,9 @@ core.whitespace::
> * `space-before-tab` treats a space character that appears immediately
> before a tab character in the initial indent part of the line as an
> error (enabled by default).
> -* `indent-with-non-tab` treats a line that is indented with 8 or more
> - space characters as an error (not enabled by default).
> +* `indent-with-non-tab` treats a line that is indented with space
> + characters instead of the equivalent tabs as an error (not enabled by
> + default).
> * `tab-in-indent` treats a tab character in the initial indent part of
> the line as an error (not enabled by default).
> * `blank-at-eof` treats blank lines added at the end of file as an error
Thanks, that reads much better.