mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 18:34:17 +00:00
Removed final newline from snippet files.
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
for ${1:element} in ${2:collection}
|
||||
$0
|
||||
end
|
||||
end
|
||||
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
if ${1:condition}
|
||||
$0
|
||||
end
|
||||
end
|
||||
@@ -4,4 +4,4 @@ if ${1:condition}
|
||||
$2
|
||||
else
|
||||
$3
|
||||
end
|
||||
end
|
||||
@@ -1,3 +1,3 @@
|
||||
#name : times { |n| ... }
|
||||
# --
|
||||
times { |${n}| $0 }
|
||||
times { |${n}| $0 }
|
||||
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
until ${condition}
|
||||
$0
|
||||
end
|
||||
end
|
||||
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
upto(${n}) { |${i}|
|
||||
$0
|
||||
}
|
||||
}
|
||||
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
when ${condition}
|
||||
$0
|
||||
end
|
||||
end
|
||||
@@ -2,4 +2,4 @@
|
||||
# --
|
||||
while ${condition}
|
||||
$0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user