From e94ca102e7936ff244863b14a42b44889fd11f30 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Mon, 29 Aug 2016 13:53:36 +0200 Subject: [PATCH] [bash] syntax coloring should accept options on shebang line. Fixes #11040 --- extensions/shellscript/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/shellscript/package.json b/extensions/shellscript/package.json index 46f456c1087..94b8ad1db0a 100644 --- a/extensions/shellscript/package.json +++ b/extensions/shellscript/package.json @@ -12,7 +12,7 @@ "aliases": ["Shell Script (Bash)", "shellscript", "bash", "sh", "zsh"], "extensions": [".sh", ".bash", ".bashrc", ".bash_aliases", ".bash_profile", ".bash_login", ".ebuild", ".install", ".profile", ".bash_logout", ".zsh", ".zshrc", ".zprofile", ".zlogin", ".zlogout", ".zshenv"], "filenames": ["PKGBUILD"], - "firstLine": "^#!.*\\b(bash|zsh|sh|tcsh)|^#\\s*-\\*-[^*]*mode:\\s*shell-script[^*]*-\\*-", + "firstLine": "^#!.*\\b(bash|zsh|sh|tcsh).*|^#\\s*-\\*-[^*]*mode:\\s*shell-script[^*]*-\\*-", "configuration": "./language-configuration.json", "mimetypes": ["text/x-shellscript"] }],