Add gjs to Javascript lang firstLine

pull/4556/head
Matt Mundell 8 months ago
parent c49fdf9f0c
commit 72b88392b1

@ -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'],

Loading…
Cancel
Save