From 08e36795006d3ab56d3cde82ce1900c3964f1284 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 18 Aug 2020 03:23:14 +0000 Subject: Highlight .in files as sh Almost always templated shell for rc scripts. --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, }; -- cgit 1.4.1