diff --git a/doc/nano.texi b/doc/nano.texi index 9576d2ad..175222aa 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -1060,6 +1060,11 @@ Python files. If empty double quotes are specified, the comment/uncomment functions are disabled; for example, @t{""} for JSON. The default value is @t{"#"}. +@item tabgives "@var{string}" +Make the key produce the given @var{string}. Useful for languages like +Python that want to see only spaces for indentation. +This overrides the setting of the @code{tabstospaces} option. + @item color @var{fgcolor},@var{bgcolor} "@var{regex}" @dots{} Paint all pieces of text that match the extended regular expression "regex" with the given foreground and background colors, at least one of which must diff --git a/doc/nanorc.5 b/doc/nanorc.5 index d59c3a84..7a742093 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -396,6 +396,11 @@ for Python files. If empty double quotes are specified, the comment/uncomment function is disabled; for example, "" for JSON. The default value is "\fB#\fP". .TP +.BI "tabgives """ string """ +Make the key produce the given \fIstring\fR. Useful for languages like +Python that want to see only spaces for indentation. +This overrides the setting of the \fBtabstospaces\fR option. +.TP .BI "color " fgcolor , bgcolor " """ regex """ " \fR... Paint all pieces of text that match the extended regular expression \fIregex\fP with the given foreground and background colors, at least