nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] [PATCH 2/2] docs: describe the new 'tabgives' syntax-file c


From: Benno Schulenberg
Subject: [Nano-devel] [PATCH 2/2] docs: describe the new 'tabgives' syntax-file command
Date: Sun, 22 Sep 2019 19:48:49 +0200

---
 doc/nano.texi | 5 +++++
 doc/nanorc.5  | 5 +++++
 2 files changed, 10 insertions(+)

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 <Tab> 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 <Tab> 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
-- 
2.23.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]