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 | 75dbab368bcbb6ed484e4d8ca9e6b3e1b3988b2d (patch) | |
tree | d89ca109ad7390d10d50254ca94a20428ad279da | |
parent | Add make syntax to hi (diff) | |
download | src-75dbab368bcbb6ed484e4d8ca9e6b3e1b3988b2d.tar.gz src-75dbab368bcbb6ed484e4d8ca9e6b3e1b3988b2d.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 5c9d89dd..6dc6b3b5 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) { |