Added erlang try snippet with a catch-all

This commit is contained in:
tormaroe 2012-05-23 13:08:13 +02:00
parent 54ed56d76f
commit f121becfcb

View File

@ -36,6 +36,13 @@ snippet case
# anonymous function
snippet fun
fun (${1:Parameters}) -> ${2:body} end${3}
# try...catch
snippet try
try
${1}
catch
${2:_:_} -> ${3:got_some_exception}
end
# record directive
snippet rec
-record(${1:record}, {