Merge pull request #567 from cparadis6191/cstyle
c: Changed style for c snippets
This commit is contained in:
commit
fd29d8e4bc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user