2012-08-16 23:41:25 -04:00
|
|
|
###########################################################################
|
|
|
|
# TEXTMATE SNIPPETS #
|
|
|
|
###########################################################################
|
|
|
|
|
2014-03-11 16:10:50 -04:00
|
|
|
priority -50
|
|
|
|
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet pat "Case:Receive:Try Clause"
|
2015-02-04 05:43:54 -05:00
|
|
|
${1:pattern}${2: when ${3:guard}} ->
|
2012-08-16 23:41:25 -04:00
|
|
|
${4:body}
|
|
|
|
endsnippet
|
|
|
|
|
2015-02-04 05:43:54 -05:00
|
|
|
snippet mod "Module Directive" b
|
|
|
|
-module(${1:`!p snip.rv = snip.basename or "module"`}).
|
2012-08-16 23:41:25 -04:00
|
|
|
endsnippet
|
|
|
|
|
2015-02-04 05:43:54 -05:00
|
|
|
snippet || "List Comprehension"
|
|
|
|
[${1:X} || ${2:X} <- ${3:List}${4:, gen}]
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet gen "Generator Expression"
|
|
|
|
${1:X} <- ${2:List}${3:, gen}
|
2012-08-16 23:41:25 -04:00
|
|
|
endsnippet
|
|
|
|
|
|
|
|
# vim:ft=snippets:
|