zf

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

application.ex (384B)


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