Elixir for comprehension snippets
This commit is contained in:
parent
061f32a08a
commit
9acfff5a61
@ -40,6 +40,14 @@ snippet case
|
|||||||
${2} ->
|
${2} ->
|
||||||
${0}
|
${0}
|
||||||
end
|
end
|
||||||
|
snippet for
|
||||||
|
for ${1:item} <- ${2:items} do
|
||||||
|
${0}
|
||||||
|
end
|
||||||
|
snippet fori
|
||||||
|
for ${1:item} <- ${2:items}, into: ${3} do
|
||||||
|
${0}
|
||||||
|
end
|
||||||
snippet df
|
snippet df
|
||||||
def ${1:name}, do: ${2}
|
def ${1:name}, do: ${2}
|
||||||
snippet def
|
snippet def
|
||||||
|
Loading…
Reference in New Issue
Block a user