Added useful snippets to erlang snippets

This commit is contained in:
g0rdin 2011-01-08 23:20:07 +01:00
parent 89522d1ad2
commit 06b6aeba34

View File

@ -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} ->