.emacs.d/snippets/cc-mode/switch
2019-08-07 11:37:47 +02:00

16 lines
180 B
Plaintext

# -*- mode: snippet -*-
# name: switch (...) { case : ... default: ...}
# key: switch
# --
switch (${1:expr})
{
case ${2:constexpr}:
{
$0
break;
}
default:
{
break;
}
}