Changed style for c snippets
Moved braces to same line for main and fun snippets.
This commit is contained in:
parent
a9f59243d8
commit
f41ab9d444
@ -38,8 +38,7 @@ $0
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet main "main() (main)"
|
snippet main "main() (main)"
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[]) {
|
||||||
{
|
|
||||||
${VISUAL}${0}
|
${VISUAL}${0}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -134,8 +133,7 @@ struct ${1:`!p snip.rv = (snip.basename or "name") + "_t"`} {
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet fun "function" b
|
snippet fun "function" b
|
||||||
${1:void} ${2:function_name}(${3})
|
${1:void} ${2:function_name}(${3}) {
|
||||||
{
|
|
||||||
${VISUAL}${0}
|
${VISUAL}${0}
|
||||||
}
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user