Skip to content

Commit

Permalink
Remove newline from main snippets (#451)
Browse files Browse the repository at this point in the history
Revert commit 7a57697
  • Loading branch information
REmerald authored Jul 8, 2024
1 parent 8c15851 commit 45a1b96
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions snippets/c/c.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"#include <stdlib.h>",
"",
"int main(int argc, char *argv[])",
"{",
"\t$0",
"{$0",
"\treturn EXIT_SUCCESS;",
"}"
],
Expand All @@ -41,16 +40,15 @@
"prefix": "main",
"body": [
"int main(int argc, char *argv[])",
"{",
"\t$0",
"{$0",
"\treturn EXIT_SUCCESS;",
"}"
],
"description": "Standard main() snippet"
},
"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 <...>": {
Expand Down

0 comments on commit 45a1b96

Please sign in to comment.