mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00

The format is: # var-name: value Previously snippets used a mixture of the following formatting: #var-name: value #var-name : value # var-name: value # var-name : value
10 lines
166 B
Plaintext
10 lines
166 B
Plaintext
# Author: Jonas Bonèr <jonas@jonasboner.com>
|
|
# name: for {x <- xs \ y <- ys} { yield }
|
|
# key: for
|
|
# --
|
|
for {
|
|
${1:x} <- ${2:xs}
|
|
${3:x} <- ${4:xs}
|
|
} {
|
|
yield $0
|
|
} |