summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-18 03:23:14 +0000
committerJune McEnroe <june@causal.agency>2020-08-18 03:23:35 +0000
commit08e36795006d3ab56d3cde82ce1900c3964f1284 (patch)
tree97001d789a37e38d6f0416cbe876a9af33acc9f8
parentBump title buffer to 64K (diff)
downloadsrc-08e36795006d3ab56d3cde82ce1900c3964f1284.tar.gz
src-08e36795006d3ab56d3cde82ce1900c3964f1284.zip
Highlight .in files as sh
Almost always templated shell for rc scripts.
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c
index 80fe2864..23d69574 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -289,7 +289,7 @@ static const struct Language {
 	{ "make", "[.]mk$|^Makefile$", MakeSyntax, ARRAY_LEN(MakeSyntax) },
 	{ "mdoc", "[.][1-9]$", MdocSyntax, ARRAY_LEN(MdocSyntax) },
 	{ "rust", "[.]rs$", RustSyntax, ARRAY_LEN(RustSyntax) },
-	{ "sh",   "[.]sh$|^[.](profile|shrc)$", ShSyntax, ARRAY_LEN(ShSyntax) },
+	{ "sh",   "[.](sh|in)$|^[.](profile|shrc)$", ShSyntax, ARRAY_LEN(ShSyntax) },
 	{ "text", "[.]txt$", NULL, 0 },
 };