mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 06:32:24 +00:00
Removed final newline from snippet files.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#name : after ... ->
|
||||
# --
|
||||
after
|
||||
$1 -> $0
|
||||
$1 -> $0
|
||||
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
begin
|
||||
$0
|
||||
end
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : -behaviour(...).
|
||||
# --
|
||||
-behaviour(${1:gen_server}).
|
||||
$0
|
||||
$0
|
||||
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
case $1 of
|
||||
$0
|
||||
end
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : -compile(...).
|
||||
# --
|
||||
-compile([${1:export_all}]).
|
||||
$0
|
||||
$0
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : -define(...,...).
|
||||
# --
|
||||
-define($1,$2).
|
||||
$0
|
||||
$0
|
||||
@@ -2,4 +2,4 @@
|
||||
#contributor : hitesh <hitesh.jasani@gmail.com>
|
||||
# --
|
||||
-export([${1:start/0}]).
|
||||
$0
|
||||
$0
|
||||
@@ -1,3 +1,3 @@
|
||||
#name : fun (...) -> ... end
|
||||
# --
|
||||
fun ($1) -> $0 end
|
||||
fun ($1) -> $0 end
|
||||
@@ -3,4 +3,4 @@
|
||||
if
|
||||
$1 -> $2;
|
||||
true -> $0
|
||||
end
|
||||
end
|
||||
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
-ifdef($1).
|
||||
$0
|
||||
-endif.
|
||||
-endif.
|
||||
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
-ifndef($1).
|
||||
$0
|
||||
-endif.
|
||||
-endif.
|
||||
@@ -2,4 +2,4 @@
|
||||
#contributor : hitesh <hitesh.jasani@gmail.com>
|
||||
# --
|
||||
-import(${1:lists}, [${2:map/2, sum/1}]).
|
||||
$0
|
||||
$0
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : -include("...").
|
||||
# --
|
||||
-include("$1").
|
||||
$0
|
||||
$0
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : -include_lib("...").
|
||||
# --
|
||||
-include_lib("$1").
|
||||
$0
|
||||
$0
|
||||
@@ -5,4 +5,4 @@ ${1:loop}($2) ->
|
||||
${3:_} ->
|
||||
$1($2)
|
||||
end.
|
||||
$0
|
||||
$0
|
||||
@@ -3,4 +3,4 @@
|
||||
# --
|
||||
-module(${1:`(file-name-nondirectory
|
||||
(file-name-sans-extension (or (buffer-file-name) (buffer-name))))`}).
|
||||
$0
|
||||
$0
|
||||
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
receive
|
||||
$1 -> $0
|
||||
end
|
||||
end
|
||||
@@ -3,4 +3,4 @@
|
||||
receive
|
||||
after
|
||||
$1 -> $0
|
||||
end
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : -record(...,{...}).
|
||||
# --
|
||||
-record($1,{$2}).
|
||||
$0
|
||||
$0
|
||||
@@ -4,4 +4,4 @@ try $1 of
|
||||
$0
|
||||
catch
|
||||
after
|
||||
end
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : -undef(...).
|
||||
# --
|
||||
-undef($1).
|
||||
$0
|
||||
$0
|
||||
Reference in New Issue
Block a user