9 lines
135 B
Plaintext
9 lines
135 B
Plaintext
|
# -*- mode: snippet -*-
|
||
|
# contributor: Seong Yong-ju
|
||
|
# name: if ... { ... } else { ... }
|
||
|
# --
|
||
|
if ${1:condition} {
|
||
|
`%`$2
|
||
|
} else {
|
||
|
$0
|
||
|
}
|