zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

application.ex (372B)


      1 defmodule Makeup.Lexers.ElixirLexer.Application do
      2   @moduledoc false
      3   use Application
      4 
      5   alias Makeup.Registry
      6   alias Makeup.Lexers.ElixirLexer
      7 
      8   def start(_type, _args) do
      9     Registry.register_lexer(ElixirLexer,
     10       options: [],
     11       names: ["elixir", "iex"],
     12       extensions: ["ex", "exs"]
     13     )
     14 
     15     Supervisor.start_link([], strategy: :one_for_one)
     16   end
     17 end