This PR adds highlighting to defdelegate, defguard & defguardp.
Before
After
Code used
defmodule DefAllTheThings do
def public_function(arg) do
# ...
end
defp private_function(arg) do
# ...
end
defdelegate delegate_function(arg), to: OtherModule
defguard is_public_guard(arg) when is_public(arg) and is_guard(arg)
defguard is_private_guard(arg) when is_private(arg) and is_guard(arg)
end
Hi there 👋
This PR adds highlighting to
defdelegate
,defguard
&defguardp
.Before
After
Code used
Best 🤗