10 lines
162 B
Plaintext
10 lines
162 B
Plaintext
# -*- mode: snippet; require-final-newline: nil -*-
|
|
# name: switch
|
|
# key: sw
|
|
# --
|
|
switch (${1:condition}) {
|
|
case ${2:expression}:
|
|
$0
|
|
break;
|
|
default:
|
|
} |