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 { 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 { 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 { 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 {
|
import {
|
||||||
c as cLanguage,
|
c as cLanguage,
|
||||||
cpp as cppLanguage,
|
cpp as cppLanguage,
|
||||||
|
@ -107,6 +108,7 @@ export const builtinLanguages: Record<string, Language> = {
|
||||||
"vhdl": StreamLanguage.define(vhdlLanguage),
|
"vhdl": StreamLanguage.define(vhdlLanguage),
|
||||||
"dockerfile": StreamLanguage.define(dockerfileLanguage),
|
"dockerfile": StreamLanguage.define(dockerfileLanguage),
|
||||||
"cmake": StreamLanguage.define(cmakeLanguage),
|
"cmake": StreamLanguage.define(cmakeLanguage),
|
||||||
|
"erlang": StreamLanguage.define(erlangLanguage),
|
||||||
"query": LRLanguage.define({
|
"query": LRLanguage.define({
|
||||||
name: "query",
|
name: "query",
|
||||||
parser: highlightingQueryParser,
|
parser: highlightingQueryParser,
|
||||||
|
|
Loading…
Reference in New Issue