mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
added missing trigger key
This commit is contained in:
parent
3aea27042b
commit
0fdc466b97
@ -1,5 +1,6 @@
|
|||||||
#Author : Jonas Bonèr <jonas@jonasboner.com>
|
#Author : Jonas Bonèr <jonas@jonasboner.com>
|
||||||
#name : for (x <- xs if guard) { ... }
|
#name : for (x <- xs if guard) { ... }
|
||||||
|
# key: for
|
||||||
# --
|
# --
|
||||||
for (${1:x} <- ${2:xs} if ${3:guard}) {
|
for (${1:x} <- ${2:xs} if ${3:guard}) {
|
||||||
$0
|
$0
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#Author : Jonas Bonèr <jonas@jonasboner.com>
|
#Author : Jonas Bonèr <jonas@jonasboner.com>
|
||||||
#name : if (cond) { .. } else { .. }
|
#name : if (cond) { .. } else { .. }
|
||||||
|
# key: if
|
||||||
# --
|
# --
|
||||||
if (${1:condition}) {
|
if (${1:condition}) {
|
||||||
$2
|
$2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user