Merge pull request #567 from cparadis6191/cstyle

c: Changed style for c snippets
This commit is contained in:
Holger Rapp 2015-04-23 08:15:58 +02:00
commit fd29d8e4bc

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