Added erlang support (#878)
parent
63e3821646
commit
99aaae23f1
|
@ -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<string, Language> = {
|
|||
"vhdl": StreamLanguage.define(vhdlLanguage),
|
||||
"dockerfile": StreamLanguage.define(dockerfileLanguage),
|
||||
"cmake": StreamLanguage.define(cmakeLanguage),
|
||||
"erlang": StreamLanguage.define(erlangLanguage),
|
||||
"query": LRLanguage.define({
|
||||
name: "query",
|
||||
parser: highlightingQueryParser,
|
||||
|
|
Loading…
Reference in New Issue