mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 14:32:26 +00:00
added missing trigger key
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user