Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit45a1b96

Browse files
authored
Remove newline frommain snippets (rafamadriz#451)
Revert commit7a57697
1 parent8c15851 commit45a1b96

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)

[8]ページ先頭

©2009-2025 Movatter.jp