nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit cdaa43b3967cc3bcd85400c77082d202b3e020aa
parent a0eebf20db7b00a50e5fabd36961dba2e81edf8e
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon,  5 Feb 2024 11:34:18 +0100

syntax: makefile: ensure that the <Tab> key always produces a tab

Making it independent from the `tabstospaces` setting.

And remove the now-redundant suggestion from the sample nanorc.

Diffstat:
Mdoc/sample.nanorc.in | 3---
Msyntax/makefile.nanorc | 2++
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in @@ -260,9 +260,6 @@ ## independent of the settings of 'tabsize' and 'tabstospaces': # extendsyntax python tabgives " " -## If <Tab> should always produce an actual TAB when editing a Makefile: -# extendsyntax makefile tabgives " " - ## === Key bindings === ## For all details, see 'man nanorc', section REBINDING KEYS. diff --git a/syntax/makefile.nanorc b/syntax/makefile.nanorc @@ -2,6 +2,8 @@ syntax makefile "(/((GNU)?m|M)akefile[^/]*$|\.(make|mk)$)" magic "makefile script" + +tabgives " " comment "#" # Assignments.