Elixir with snippets
This commit is contained in:
parent
ca7b3e6e34
commit
4b28763d20
@ -48,6 +48,21 @@ snippet fori
|
||||
for ${1:item} <- ${2:items}, into: ${3} do
|
||||
${0}
|
||||
end
|
||||
snippet wi
|
||||
with(
|
||||
${1:item} <- ${2:items}
|
||||
) do
|
||||
${0}
|
||||
end
|
||||
snippet wie
|
||||
with(
|
||||
${1:item} <- ${2:items}
|
||||
) do
|
||||
${3}
|
||||
else
|
||||
${4} ->
|
||||
${0}
|
||||
end
|
||||
snippet df
|
||||
def ${1:name}, do: ${2}
|
||||
snippet def
|
||||
|
Loading…
Reference in New Issue
Block a user