diff options
author | June McEnroe <june@causal.agency> | 2019-02-07 21:25:53 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-02-07 21:25:53 -0500 |
commit | e423f02faa330ceef1c6d5f9c6bdc42eeb834f93 (patch) | |
tree | 7d9c5ca2067d1a1eaa358500a7d296fbb793d970 | |
parent | Add make syntax to hi (diff) | |
download | src-e423f02faa330ceef1c6d5f9c6bdc42eeb834f93.tar.gz src-e423f02faa330ceef1c6d5f9c6bdc42eeb834f93.zip |
Detect .mk files as make
Diffstat (limited to '')
-rw-r--r-- | bin/hi.c | 2 |
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) { |