Skip to content

Commit e51a259

Browse files
authored
Merge pull request #369 from Auralcat/add-elixir-with-snippet
Adds Elixir with snippet
2 parents e066009 + 2838cdf commit e51a259

File tree

2 files changed

+18
-0
lines changed
  • snippets/elixir-mode

2 files changed

+18
-0
lines changed

snippets/elixir-mode/wt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# -*- mode: snippet -*-
2+
# contributor: Miriam Retka (https://github.com/Auralcat)
3+
# name: wt
4+
# key: wt
5+
# --
6+
with ${1:{:ok, tuple} <- function(arg)}, do
7+
$0
8+
end

snippets/elixir-mode/wte

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# -*- mode: snippet -*-
2+
# contributor: Miriam Retka (https://github.com/Auralcat)
3+
# name: wte
4+
# key: wte
5+
# --
6+
with ${1:{:ok, tuple} <- function(arg)}, do
7+
$2
8+
else
9+
$0
10+
end

0 commit comments

Comments
 (0)