mirror of
https://github.com/rafamadriz/friendly-snippets
synced 2024-09-16 22:14:02 +02:00
parent
8c158510e9
commit
45a1b96e46
1 changed files with 3 additions and 5 deletions
|
@ -17,8 +17,7 @@
|
|||
"#include <stdlib.h>",
|
||||
"",
|
||||
"int main(int argc, char *argv[])",
|
||||
"{",
|
||||
"\t$0",
|
||||
"{$0",
|
||||
"\treturn EXIT_SUCCESS;",
|
||||
"}"
|
||||
],
|
||||
|
@ -41,8 +40,7 @@
|
|||
"prefix": "main",
|
||||
"body": [
|
||||
"int main(int argc, char *argv[])",
|
||||
"{",
|
||||
"\t$0",
|
||||
"{$0",
|
||||
"\treturn EXIT_SUCCESS;",
|
||||
"}"
|
||||
],
|
||||
|
@ -50,7 +48,7 @@
|
|||
},
|
||||
"main(void) template": {
|
||||
"prefix": "mainn",
|
||||
"body": ["int main(void)", "{$0", "", "\treturn EXIT_SUCCESS;", "}"],
|
||||
"body": ["int main(void)", "{$0", "\treturn EXIT_SUCCESS;", "}"],
|
||||
"description": "No-args main() snippet"
|
||||
},
|
||||
"#include <...>": {
|
||||
|
|
Loading…
Reference in a new issue