diff --git a/extensions/make/package.json b/extensions/make/package.json index cc244fbf7ba..d57f0077caa 100644 --- a/extensions/make/package.json +++ b/extensions/make/package.json @@ -15,7 +15,7 @@ "aliases": ["Makefile", "makefile"], "extensions": [ ".mk" ], "filenames": [ "Makefile", "makefile", "GNUmakefile", "OCamlMakefile" ], - "firstLine": "^#!/usr/bin/make", + "firstLine": "^#!\\s*/usr/bin/make", "configuration": "./language-configuration.json" }], "grammars": [{ diff --git a/extensions/php/package.json b/extensions/php/package.json index 64b788d2010..53d0b2ebe45 100644 --- a/extensions/php/package.json +++ b/extensions/php/package.json @@ -22,7 +22,7 @@ "PHP", "php" ], - "firstLine": "^#!/.*\\bphp\\b", + "firstLine": "^#!\\s*/.*\\bphp\\b", "mimetypes": [ "application/x-php" ], diff --git a/extensions/powershell/package.json b/extensions/powershell/package.json index 5fcb928726d..399f6fc5601 100644 --- a/extensions/powershell/package.json +++ b/extensions/powershell/package.json @@ -10,7 +10,7 @@ "id": "powershell", "extensions": [ ".ps1", ".psm1", ".psd1", ".pssc", ".psrc" ], "aliases": [ "PowerShell", "powershell", "ps", "ps1" ], - "firstLine": "^#!/.*\\bpwsh\\b", + "firstLine": "^#!\\s*/.*\\bpwsh\\b", "configuration": "./language-configuration.json" }], "grammars": [{ diff --git a/extensions/ruby/package.json b/extensions/ruby/package.json index 89bebf40aa5..98d66a891e4 100644 --- a/extensions/ruby/package.json +++ b/extensions/ruby/package.json @@ -14,7 +14,7 @@ "extensions": [ ".rb", ".rbx", ".rjs", ".gemspec", ".rake", ".ru", ".erb" ], "filenames": [ "rakefile", "gemfile", "guardfile", "podfile", "capfile" ], "aliases": [ "Ruby", "rb" ], - "firstLine": "^#!/.*\\bruby\\b", + "firstLine": "^#!\\s*/.*\\bruby\\b", "configuration": "./language-configuration.json" }], "grammars": [{