Added erlang support (#878)

pull/880/head
MrMugame 2024-06-05 12:23:12 +02:00 committed by GitHub
parent 63e3821646
commit 99aaae23f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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,