Merge pull request #369 from Auralcat/add-elixir-with-snippet

Adds Elixir with snippet
This commit is contained in:
Andrea Crotti 2020-04-18 12:54:26 +01:00 committed by GitHub
commit e51a259527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

8
snippets/elixir-mode/wt Normal file
View File

@ -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

10
snippets/elixir-mode/wte Normal file
View File

@ -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