diff --git a/misc/syntax/Syntax.in b/misc/syntax/Syntax.in index f45ef9432..00850135c 100644 --- a/misc/syntax/Syntax.in +++ b/misc/syntax/Syntax.in @@ -51,7 +51,7 @@ include diff.syntax file ..\*\\.lsm$ LSM\sFile include lsm.syntax -file .\*(bash(_completion|rc)|profile|\\.(sh|bash(rc|_(completion|profile|log(in|out)|aliases|exports|history))|profile|zlog(in|out)|zprofile|zsh(env|rc)))$ Shell\sScript ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh +file .\*(bash(_completion|rc)|profile|\\.(sh|bash(rc|_(completion|profile|log(in|out)|aliases|exports|history))|profile|zlog(in|out)|zprofile|zsh(env|rc)?))$ Shell\sScript ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh include sh.syntax # Since openrc scripts have no extension "by definition", use an empty pattern