diff --git a/UltiSnips/erlang.snippets b/UltiSnips/erlang.snippets index 4acd923..80776a7 100644 --- a/UltiSnips/erlang.snippets +++ b/UltiSnips/erlang.snippets @@ -2,6 +2,11 @@ # TEXTMATE SNIPPETS # ########################################################################### +snippet pat "Case:Receive:Try Clause" +${1:pattern}${2: when ${3:guard}} ->; + ${4:body} +endsnippet + snippet beh "Behaviour Directive" -behaviour (${1:behaviour}). endsnippet @@ -28,6 +33,11 @@ fun end endsnippet +snippet fu "Function" +${1:function} (${2:param})${3: when ${4:guard}} -> + ${5:body} +endsnippet + snippet if "If Expression" if ${1:guard} ->