Skip to content

Commit 2a9487b

Browse files
committed
Add TARGET in elixir snippets
1 parent db9b976 commit 2a9487b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

neosnippets/elixir.snip

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ snippet def
3232
abbr def .. do .. end
3333
options head
3434
def ${1:name} do
35-
${2}
35+
${2:TARGET}
3636
end
3737

3838
snippet defm
3939
abbr def module
4040
options head
4141
defmodule ${1:module_name} do
42-
${2}
42+
${2:TARGET}
4343
end
4444

4545
snippet defp
4646
abbr defp .. end
4747
options head
4848
defp ${1:name} do
49-
${2}
49+
${2:TARGET}
5050
end
5151

5252
snippet doc
@@ -75,14 +75,14 @@ snippet test
7575
abbr test .. do .. end
7676
options head
7777
test "${1:test_name}" do
78-
${2}
78+
${2:TARGET}
7979
end
8080

8181
snippet try
8282
abbr try .. rescue .. end
8383
options head
8484
try do
85-
${1}
85+
${1:TARGET}
8686
rescue
8787
${2} -> ${3}
8888

@@ -91,12 +91,12 @@ abbr with .. do .. end
9191
options head
9292
with ${1}
9393
do
94-
${2}
94+
${2:TARGET}
9595
end
9696

9797
snippet describe
9898
abbr describe .. do .. end
9999
options head
100100
describe "${1:describe_name}" do
101-
${2}
101+
${2:TARGET}
102102
end

0 commit comments

Comments
 (0)