diff --git a/src/basic-languages/javascript/javascript.contribution.ts b/src/basic-languages/javascript/javascript.contribution.ts index 112c2632ec..fbb9cb5f56 100644 --- a/src/basic-languages/javascript/javascript.contribution.ts +++ b/src/basic-languages/javascript/javascript.contribution.ts @@ -11,7 +11,7 @@ declare var require: any; registerLanguage({ id: 'javascript', extensions: ['.js', '.es6', '.jsx', '.mjs', '.cjs'], - firstLine: '^#!.*\\bnode', + firstLine: "^#!.*\\b(node|gjs)", filenames: ['jakefile'], aliases: ['JavaScript', 'javascript', 'js'], mimetypes: ['text/javascript'],