diff options
author | June McEnroe <june@causal.agency> | 2019-05-10 17:31:30 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-05-10 17:33:36 -0400 |
commit | 05a6358cf5be03769b4b14f8ee9d3c57437dc86a (patch) | |
tree | c444044629e209e3d6ce80e5c04233e0f9cacbf3 | |
parent | Use val instead of suboptarg (diff) | |
download | src-05a6358cf5be03769b4b14f8ee9d3c57437dc86a.tar.gz src-05a6358cf5be03769b4b14f8ee9d3c57437dc86a.zip |
Highlight yacc and lex files as C
Their %-prefixed directives should probably be highlighted Macro.
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 444e867a..463c4fcc 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) }, |