2012-08-17 03:41:25 +00:00
|
|
|
###########################################################################
|
|
|
|
# TEXTMATE SNIPPETS #
|
|
|
|
###########################################################################
|
|
|
|
|
2014-03-11 20:10:50 +00:00
|
|
|
priority -50
|
|
|
|
|
2012-08-17 03:41:25 +00:00
|
|
|
snippet pat "Case:Receive:Try Clause"
|
2015-02-04 10:43:54 +00:00
|
|
|
${1:pattern}${2: when ${3:guard}} ->
|
2012-08-17 03:41:25 +00:00
|
|
|
${4:body}
|
|
|
|
endsnippet
|
|
|
|
|
2015-02-04 10:43:54 +00:00
|
|
|
snippet mod "Module Directive" b
|
|
|
|
-module(${1:`!p snip.rv = snip.basename or "module"`}).
|
2012-08-17 03:41:25 +00:00
|
|
|
endsnippet
|
|
|
|
|
2015-02-04 10:43:54 +00: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-17 03:41:25 +00:00
|
|
|
endsnippet
|
|
|
|
|
|
|
|
# vim:ft=snippets:
|