From e423f02faa330ceef1c6d5f9c6bdc42eeb834f93 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 7 Feb 2019 21:25:53 -0500 Subject: Detect .mk files as make --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hi.c b/bin/hi.c index ffc4709f..a61a22ed 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -129,7 +129,7 @@ static const struct Language { size_t len; } Languages[] = { { "c", "\\.[ch]$", CSyntax, ARRAY_LEN(CSyntax) }, - { "make", "Makefile$", MakeSyntax, ARRAY_LEN(MakeSyntax) }, + { "make", "Makefile$|\\.mk$", MakeSyntax, ARRAY_LEN(MakeSyntax) }, }; static regex_t compile(const char *pattern, int flags) { -- cgit 1.4.1