Skip to content

Commit 45a1b96

Browse files
authored
Remove newline from main snippets (rafamadriz#451)
Revert commit 7a57697
1 parent 8c15851 commit 45a1b96

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

snippets/c/c.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"#include <stdlib.h>",
1818
"",
1919
"int main(int argc, char *argv[])",
20-
"{",
21-
"\t$0",
20+
"{$0",
2221
"\treturn EXIT_SUCCESS;",
2322
"}"
2423
],
@@ -41,16 +40,15 @@
4140
"prefix": "main",
4241
"body": [
4342
"int main(int argc, char *argv[])",
44-
"{",
45-
"\t$0",
43+
"{$0",
4644
"\treturn EXIT_SUCCESS;",
4745
"}"
4846
],
4947
"description": "Standard main() snippet"
5048
},
5149
"main(void) template": {
5250
"prefix": "mainn",
53-
"body": ["int main(void)", "{$0", "", "\treturn EXIT_SUCCESS;", "}"],
51+
"body": ["int main(void)", "{$0", "\treturn EXIT_SUCCESS;", "}"],
5452
"description": "No-args main() snippet"
5553
},
5654
"#include <...>": {

0 commit comments

Comments
 (0)