Changed style for c snippets

Moved braces to same line for main and fun snippets.
This commit is contained in:
Chad Paradis 2015-04-22 20:45:45 -04:00
parent a9f59243d8
commit f41ab9d444

View File

@ -38,8 +38,7 @@ $0
endsnippet
snippet main "main() (main)"
int main(int argc, char *argv[])
{
int main(int argc, char *argv[]) {
${VISUAL}${0}
return 0;
}
@ -134,8 +133,7 @@ struct ${1:`!p snip.rv = (snip.basename or "name") + "_t"`} {
endsnippet
snippet fun "function" b
${1:void} ${2:function_name}(${3})
{
${1:void} ${2:function_name}(${3}) {
${VISUAL}${0}
}
endsnippet