Packages

Cure language lexer for the Makeup syntax highlighter. Provides syntax highlighting for the Cure programming language in ExDoc and any other tool using Makeup.

Current section

Files

Jump to
makeup_cure lib makeup lexers cure_lexer application.ex
Raw

lib/makeup/lexers/cure_lexer/application.ex

defmodule Makeup.Lexers.CureLexer.Application do
@moduledoc false
use Application
alias Makeup.{Lexers.CureLexer, Registry}
def start(_type, _args) do
Registry.register_lexer(CureLexer,
options: [],
names: ["cure"],
extensions: ["cure"]
)
Supervisor.start_link([], strategy: :one_for_one)
end
end