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
commit9c9ade7ddf28a631a094bc0cd5df3c0d45ffb33c (patch)
treed0e38bb897701f57d5fb21d5ff6fdb6b67bab2e6
parentBump title buffer to 64K (diff)
downloadsrc-9c9ade7ddf28a631a094bc0cd5df3c0d45ffb33c.tar.gz
src-9c9ade7ddf28a631a094bc0cd5df3c0d45ffb33c.zip
Highlight .in files as sh
Almost always templated shell for rc scripts.
Diffstat (limited to '')
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c
index 7e19f3fc..b39c0af4 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 },
 };