]> Sergey Matveev's repositories - public-inbox.git/commit
t/hl_mod: accept "make" or "makefile" for Makefile
authorAlyssa Ross <hi@alyssa.is>
Tue, 22 Jun 2021 12:09:20 +0000 (12:09 +0000)
committerEric Wong <e@80x24.org>
Tue, 22 Jun 2021 18:54:39 +0000 (18:54 +0000)
commit2016078cefa7e4438217e54bb0421a5d5f0b151f
treeb812f123c31e3ccb217b08c5a9f8fcd946af7006
parenta5be5d6f2db0b56dcc1d6034071458d75006670c
t/hl_mod: accept "make" or "makefile" for Makefile

Version 4.0 of highlight has renamed the "make" language to
"makefile".  So just check the string starts with "make", to handle
both 3.x and 4.x.

I tested that public-inbox does actually work with highlight 4 -- it
can highlight my Makefile fine. :)
t/hl_mod.t