Merge pull request #12545 from mogorman/elixir_syntax_highlighting

feat: add Elixir highlighting
This commit is contained in:
Timothy Jaeryang Baek authored and GitHub committed 2025-04-06 23:45:30 -07:00
commit ddec6cf0fa
3 files changed
+30

No files matched your search

@@ -98,6 +98,16 @@
}
})
);
languages.push(
LanguageDescription.of({
name: 'Elixir',
extensions: ['ex', 'exs'],
load() {
return import('codemirror-lang-elixir').then((m) => m.elixir());
}
})
);
const getLang = async () => {
const language = languages.find((l) => l.alias.includes(lang));
return await language?.load();