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.
This commit is contained in:
Benno Schulenberg 2024-02-05 11:34:18 +01:00
parent a0eebf20db
commit cdaa43b396
2 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -2,6 +2,8 @@
syntax makefile "(/((GNU)?m|M)akefile[^/]*$|\.(make|mk)$)"
magic "makefile script"
tabgives " "
comment "#"
# Assignments.