This commit is contained in:
Matt Mundell 2025-12-20 08:32:43 +01:00 committed by GitHub
commit 9cee39a53d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ import { registerLanguage } from '../_.contribution';
registerLanguage({
id: 'javascript',
extensions: ['.js', '.es6', '.jsx', '.mjs', '.cjs'],
firstLine: '^#!.*\\bnode',
firstLine: "^#!.*\\b(node|gjs)",
filenames: ['jakefile'],
aliases: ['JavaScript', 'javascript', 'js'],
mimetypes: ['text/javascript'],