From 7a5769713a400e408ad562d60abf6854fed3b9b5 Mon Sep 17 00:00:00 2001 From: ilan schemoul Date: Sat, 4 May 2024 16:00:01 +0200 Subject: [PATCH] fix(c): main() snippet position of $0 --- snippets/c/c.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/c/c.json b/snippets/c/c.json index c9b95dfb..abac8bdc 100644 --- a/snippets/c/c.json +++ b/snippets/c/c.json @@ -17,8 +17,8 @@ "#include ", "", "int main(int argc, char *argv[])", - "{$0", - "", + "{", + "\t$0", "\treturn EXIT_SUCCESS;", "}" ], @@ -41,8 +41,8 @@ "prefix": "main", "body": [ "int main(int argc, char *argv[])", - "{$0", - "", + "{", + "\t$0", "\treturn EXIT_SUCCESS;", "}" ],