We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e378404 commit d742cc2Copy full SHA for d742cc2
snippets/elixir-mode/hcall
@@ -2,7 +2,6 @@
2
# name: hcall
3
# key: hcall
4
# --
5
-def handle_call($1, _from, state) do
6
- reply = $0
7
- {:reply, reply, state}
+def handle_call($1, _from, ${2:state}) do
+ $0
8
end
snippets/elixir-mode/hcast
# name: hcast
# key: hcast
-def handle_cast($1, state) do
+def handle_cast($1, ${2:state}) do
$0
- {:noreply, state}
0 commit comments