Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions snippets/elixir-mode/hcall
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# name: hcall
# key: hcall
# --
def handle_call($1, _from, state) do
reply = $0
{:reply, reply, state}
def handle_call($1, _from, ${2:state}) do
$0
end
3 changes: 1 addition & 2 deletions snippets/elixir-mode/hcast
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# name: hcast
# key: hcast
# --
def handle_cast($1, state) do
def handle_cast($1, ${2:state}) do
$0
{:noreply, state}
end
3 changes: 1 addition & 2 deletions snippets/elixir-mode/hinfo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# name: hinfo
# key: hinfo
# --
def handle_info($1, state) do
def handle_info($1, ${2:state}) do
$0
{:noreply, state}
end