Skip to content

Commit

Permalink
Bump esbuild, re-add D to NG
Browse files Browse the repository at this point in the history
Looks like the cause of the breakage was a duplicate var in codemirror
(fixed upstream, not yet released) and a bug in esbuild (fixed in this
bump) - evanw/esbuild#2098
  • Loading branch information
JRaspass committed Mar 14, 2022
1 parent 3d93236 commit 1c67f86
Show file tree
Hide file tree
Showing 2 changed files with 171 additions and 167 deletions.
4 changes: 4 additions & 0 deletions js/_codemirror.js
Expand Up @@ -22,6 +22,7 @@ import { cobol } from '@codemirror/legacy-modes/mode/cobol';
import { commonLisp } from '@codemirror/legacy-modes/mode/commonlisp';
import { cpp } from '@codemirror/lang-cpp';
import { crystal } from '@codemirror/legacy-modes/mode/crystal';
import { d } from '@codemirror/legacy-modes/mode/d';
import { fortran } from '@codemirror/legacy-modes/mode/fortran';
import { fSharp } from '@codemirror/legacy-modes/mode/mllike';
import { go } from '@codemirror/legacy-modes/mode/go';
Expand Down Expand Up @@ -95,6 +96,7 @@ export const extensions = {
'cobol': StreamLanguage.define(cobol),
'cpp': cpp(),
'crystal': StreamLanguage.define(crystal),
'd': StreamLanguage.define(d),
'f-sharp': StreamLanguage.define(fSharp),
// TODO fish
'fortran': StreamLanguage.define(fortran),
Expand All @@ -105,6 +107,7 @@ export const extensions = {
'java': java(),
'javascript': javascript(),
'julia': StreamLanguage.define(julia),
// TODO k
'lisp': StreamLanguage.define(commonLisp),
'lua': StreamLanguage.define(lua),
'nim': StreamLanguage.define(nim( {}, {} )),
Expand All @@ -120,5 +123,6 @@ export const extensions = {
'sql': sql({ dialect: SQLite }),
'swift': StreamLanguage.define(swift),
// TODO v
// TODO viml
// TODO zig
};

0 comments on commit 1c67f86

Please sign in to comment.