File: application.ex

package info (click to toggle)
elixir-makeup-elixir 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: makefile: 9
file content (17 lines) | stat: -rw-r--r-- 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
defmodule Makeup.Lexers.ElixirLexer.Application do
  @moduledoc false
  use Application

  alias Makeup.Registry
  alias Makeup.Lexers.ElixirLexer

  def start(_type, _args) do
    Registry.register_lexer(ElixirLexer,
      options: [],
      names: ["elixir", "iex"],
      extensions: ["ex", "exs"]
    )

    Supervisor.start_link([], strategy: :one_for_one)
  end
end