init
This commit is contained in:
9
snippets/cc-mode/case
Normal file
9
snippets/cc-mode/case
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: case : {...}
|
||||
# key: case
|
||||
# expand-env: ((yas-also-auto-indent-first-line t))
|
||||
# --
|
||||
case ${2:constexpr}:${3: \{}
|
||||
$0
|
||||
break;
|
||||
${3:$(if (string-match "\{" yas-text) "\}" "")}
|
||||
Reference in New Issue
Block a user