summary refs log tree commit diff
path: root/bin/hi.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-07 21:25:53 -0500
committerJune McEnroe <june@causal.agency>2019-02-07 21:25:53 -0500
commite423f02faa330ceef1c6d5f9c6bdc42eeb834f93 (patch)
tree7d9c5ca2067d1a1eaa358500a7d296fbb793d970 /bin/hi.c
parentAdd make syntax to hi (diff)
downloadsrc-e423f02faa330ceef1c6d5f9c6bdc42eeb834f93.tar.gz
src-e423f02faa330ceef1c6d5f9c6bdc42eeb834f93.zip
Detect .mk files as make
Diffstat (limited to 'bin/hi.c')
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
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) {