From 9c9ade7ddf28a631a094bc0cd5df3c0d45ffb33c Mon Sep 17 00:00:00 2001 From: "C. 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(-) (limited to 'bin') 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 }, }; -- cgit 1.4.1