diff --git a/snippets/elixir-mode/hcall b/snippets/elixir-mode/hcall index 9d30b3b32..9e11b2d63 100644 --- a/snippets/elixir-mode/hcall +++ b/snippets/elixir-mode/hcall @@ -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 \ No newline at end of file diff --git a/snippets/elixir-mode/hcast b/snippets/elixir-mode/hcast index 021947a84..f7cff51db 100644 --- a/snippets/elixir-mode/hcast +++ b/snippets/elixir-mode/hcast @@ -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 \ No newline at end of file diff --git a/snippets/elixir-mode/hinfo b/snippets/elixir-mode/hinfo index 6e6ce8c87..4ac5018fa 100644 --- a/snippets/elixir-mode/hinfo +++ b/snippets/elixir-mode/hinfo @@ -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 \ No newline at end of file