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:
parent
a0eebf20db
commit
cdaa43b396
@ -260,9 +260,6 @@
|
|||||||
## independent of the settings of 'tabsize' and 'tabstospaces':
|
## independent of the settings of 'tabsize' and 'tabstospaces':
|
||||||
# extendsyntax python tabgives " "
|
# extendsyntax python tabgives " "
|
||||||
|
|
||||||
## If <Tab> should always produce an actual TAB when editing a Makefile:
|
|
||||||
# extendsyntax makefile tabgives " "
|
|
||||||
|
|
||||||
|
|
||||||
## === Key bindings ===
|
## === Key bindings ===
|
||||||
## For all details, see 'man nanorc', section REBINDING KEYS.
|
## For all details, see 'man nanorc', section REBINDING KEYS.
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
syntax makefile "(/((GNU)?m|M)akefile[^/]*$|\.(make|mk)$)"
|
syntax makefile "(/((GNU)?m|M)akefile[^/]*$|\.(make|mk)$)"
|
||||||
magic "makefile script"
|
magic "makefile script"
|
||||||
|
|
||||||
|
tabgives " "
|
||||||
comment "#"
|
comment "#"
|
||||||
|
|
||||||
# Assignments.
|
# Assignments.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user