confi-emacs-actual/snippets/go-mode/ife

9 lines
135 B
Plaintext
Raw Normal View History

2022-03-30 01:21:13 +02:00
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: if ... { ... } else { ... }
# --
if ${1:condition} {
`%`$2
} else {
$0
}