From 0a322cd0b39aa73f9b15fe99faaffaa7ac115ee0 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 10 May 2019 17:31:30 -0400 Subject: Highlight yacc and lex files as C Their %-prefixed directives should probably be highlighted Macro. --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/hi.c') diff --git a/bin/hi.c b/bin/hi.c index 9db51a65..866fc651 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -271,7 +271,7 @@ static const struct Language { const struct Syntax *syntax; size_t len; } Languages[] = { - { "c", "[.][ch]$", CSyntax, ARRAY_LEN(CSyntax) }, + { "c", "[.][chly]$", CSyntax, ARRAY_LEN(CSyntax) }, { "make", "[.]mk$|^Makefile$", MakeSyntax, ARRAY_LEN(MakeSyntax) }, { "mdoc", "[.][1-9]$", MdocSyntax, ARRAY_LEN(MdocSyntax) }, { "rust", "[.]rs$", RustSyntax, ARRAY_LEN(RustSyntax) }, -- cgit 1.4.1