feat(codemirror): add elixir support

This commit is contained in:
Elian Doran
2025-06-16 17:48:20 +03:00
parent 6bfc78e148
commit 8ecf6ad78e
3 changed files with 21 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ const byMimeType: Record<string, (() => Promise<StreamParser<unknown> | Language
"text/x-ebnf": async () => (await import('@codemirror/legacy-modes/mode/ebnf')).ebnf,
"text/x-ecl": async () => (await import('@codemirror/legacy-modes/mode/ecl')).ecl,
"text/x-eiffel": async () => (await import('@codemirror/legacy-modes/mode/eiffel')).eiffel,
"text/x-elixir": async () => (await import('codemirror-lang-elixir')).elixir(),
"text/x-elm": async () => (await import('@codemirror/legacy-modes/mode/elm')).elm,
"text/x-erlang": async () => (await import('@codemirror/legacy-modes/mode/erlang')).erlang,
"text/x-esper": async () => (await import('@codemirror/legacy-modes/mode/sql')).esper,