diff --git a/JavaScript/JavaScript.sublime-syntax b/JavaScript/JavaScript.sublime-syntax index f7df3a3190..1871a4c47b 100644 --- a/JavaScript/JavaScript.sublime-syntax +++ b/JavaScript/JavaScript.sublime-syntax @@ -13,12 +13,12 @@ file_extensions: first_line_match: |- (?xi: - ^ \#! .* \b(?:node|js)\b # shebang + ^ \#! .* \b(?:node|js|osascript\s+-l\s+JavaScript)\b # shebang | ^ \s* // .*? -\*- .*? \b(?:js|javascript)\b .*? -\*- # editorconfig ) variables: - shebang_lang: \b(?:node|js)\b + shebang_lang: \b(?:node|js|osascript\s+-l\s+JavaScript)\b bin_digit: '[01_]' oct_digit: '[0-7_]'