Skip to content

Commit

Permalink
fix: Added support for cjs, mjs and log modes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnester committed May 29, 2022
1 parent bf2c7e2 commit b37a625
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ace/ext/modelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var supportedModes = {
Jack: ["jack"],
Jade: ["jade|pug"],
Java: ["java"],
JavaScript: ["js|jsm|jsx"],
JavaScript: ["js|jsm|jsx|cjs|mjs"],
JSON: ["json"],
JSON5: ["json5"],
JSONiq: ["jq"],
Expand All @@ -125,6 +125,7 @@ var supportedModes = {
Liquid: ["liquid"],
Lisp: ["lisp"],
LiveScript: ["ls"],
Log: ["log"],
LogiQL: ["logic|lql"],
LSL: ["lsl"],
Lua: ["lua"],
Expand Down

0 comments on commit b37a625

Please sign in to comment.