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
129 B
Plaintext
10 lines
129 B
Plaintext
# name: if, elsif, else ...
|
|
# key: ifee
|
|
# --
|
|
if ($1) {
|
|
${2:# body...}
|
|
} elsif ($3) {
|
|
${4:# elsif...}
|
|
} else {
|
|
${5:# else...}
|
|
} |