mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 05:50:11 +01:00
Add gjs to Javascript lang firstLine
This commit is contained in:
parent
c49fdf9f0c
commit
72b88392b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue