Merge pull request #369 from Auralcat/add-elixir-with-snippet
Adds Elixir with snippet
This commit is contained in:
commit
e51a259527
|
@ -0,0 +1,8 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Miriam Retka (https://github.com/Auralcat)
|
||||||
|
# name: wt
|
||||||
|
# key: wt
|
||||||
|
# --
|
||||||
|
with ${1:{:ok, tuple} <- function(arg)}, do
|
||||||
|
$0
|
||||||
|
end
|
|
@ -0,0 +1,10 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# contributor: Miriam Retka (https://github.com/Auralcat)
|
||||||
|
# name: wte
|
||||||
|
# key: wte
|
||||||
|
# --
|
||||||
|
with ${1:{:ok, tuple} <- function(arg)}, do
|
||||||
|
$2
|
||||||
|
else
|
||||||
|
$0
|
||||||
|
end
|
Loading…
Reference in New Issue