diff --git a/common/languages.ts b/common/languages.ts index da048093..fcf1de11 100644 --- a/common/languages.ts +++ b/common/languages.ts @@ -21,6 +21,7 @@ import { verilog as verilogLanguage } from "@codemirror/legacy-modes/mode/verilo import { vhdl as vhdlLanguage } from "@codemirror/legacy-modes/mode/vhdl?external=@codemirror/language&target=es2022"; import { dockerFile as dockerfileLanguage } from "@codemirror/legacy-modes/mode/dockerfile?external=@codemirror/language&target=es2022"; import { cmake as cmakeLanguage } from "@codemirror/legacy-modes/mode/cmake?external=@codemirror/language&target=es2022"; +import { erlang as erlangLanguage } from "@codemirror/legacy-modes/mode/erlang?external=@codemirror/language&target=es2022"; import { c as cLanguage, cpp as cppLanguage, @@ -107,6 +108,7 @@ export const builtinLanguages: Record = { "vhdl": StreamLanguage.define(vhdlLanguage), "dockerfile": StreamLanguage.define(dockerfileLanguage), "cmake": StreamLanguage.define(cmakeLanguage), + "erlang": StreamLanguage.define(erlangLanguage), "query": LRLanguage.define({ name: "query", parser: highlightingQueryParser,