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>master
parent
5d02ee64b6
commit
22663f8a2e
|
@ -1,6 +1,6 @@
|
||||||
## Here is an example for Makefiles.
|
## Here is an example for Makefiles.
|
||||||
|
|
||||||
syntax makefile "(Makefile[^/]*$|\.(make|mk)$)"
|
syntax makefile "(/((GNU)?m|M)akefile[^/]*$|\.(make|mk)$)"
|
||||||
magic "makefile script"
|
magic "makefile script"
|
||||||
comment "#"
|
comment "#"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue