mirror of git://git.sv.gnu.org/nano.git
syntax: makefile: recognize also an all-lowercase makefile name
Recognize not just "Makefile" but also "makefile" and "GNUmakefile". And recognize these only when they are the full filenames, not when they are the tail part of a longer name. Signed-off-by: Cristian Caloghera <cristi.caloghera@gmail.com>
This commit is contained in:
parent
5d02ee64b6
commit
22663f8a2e
|
@ -1,6 +1,6 @@
|
|||
## Here is an example for Makefiles.
|
||||
|
||||
syntax makefile "(Makefile[^/]*$|\.(make|mk)$)"
|
||||
syntax makefile "(/((GNU)?m|M)akefile[^/]*$|\.(make|mk)$)"
|
||||
magic "makefile script"
|
||||
comment "#"
|
||||
|
||||
|
|
Loading…
Reference in New Issue