0

Syntax Highlighting: support for Elixir

JvL 1 week ago updated 1 week ago 2

Add support for the Elixir language.

Or, as many other requests have mention: change your highlighting engine to something that supports user-defined grammars or borrows from the wider ecosystem (VSCode and Eclipse have one way, LanguageServers are another...)

You may help us by providing a sample file that covers all edge cases.

Sure, here's a good sample file. Without using an LSP it would be impossible to highlight everything, since Elixir knows about "embedded strings that are an HTML template".


Standard Elixir source file, with comments, etc. for highlighting:

base32_crockford.ex


.heex template file:

new.html.heex