From cdb9b04980ac04ff2df112eb1fe6178ed77b1df6 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 3 Oct 2019 16:38:33 +0200 Subject: [PATCH] docs: add two examples of the 'tabgives' command to the sample nanorc --- doc/sample.nanorc.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index efb37437..55603f4f 100644 --- a/doc/sample.nanorc.in +++ b/doc/sample.nanorc.in @@ -261,6 +261,14 @@ # include "@PKGDATADIR@/*.nanorc" +## If should always produce four spaces when editing a Python file, +## independent of the settings of 'tabsize' and 'tabstospaces': +# extendsyntax python tabgives " " +# +## If should always produce an actual TAB when editing a Makefile: +# extendsyntax makefile tabgives " " + + ## Key bindings. ## See nanorc(5) (section REBINDING KEYS) for more details on this.