File: application.ex

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

  alias Makeup.Registry
  alias Makeup.Lexers.CLexer

  def start(_type, _args) do
    Registry.register_lexer(CLexer,
      options: [],
      names: ["c"],
      extensions: ["c", "h"]
    )

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