Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong colors in Elixir when using one liner if's without end #23

Open
alexlllll opened this issue Oct 22, 2019 · 1 comment
Open

wrong colors in Elixir when using one liner if's without end #23

alexlllll opened this issue Oct 22, 2019 · 1 comment

Comments

@alexlllll
Copy link

alexlllll commented Oct 22, 2019

    def start() do
        if !Enum.member?(:pg2.which_groups(), :whatever), do: :pg2.create(:whatever)
        fn -> {:ok} = whatever() end
    end
@roostercrab
Copy link

roostercrab commented Nov 28, 2019

Another example:

defmodule ChitChat.Auth do
  import Plug.Conn

  def init(opts), do: opts

  def call(conn, _opts) do
      
  end
end

Great extension though :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants