summaryrefslogtreecommitdiffstats
path: root/lua/snippet
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua/snippets/c.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/lua/snippets/c.lua b/lua/snippets/c.lua
index b1ca713..73b0915 100644
--- a/lua/snippets/c.lua
+++ b/lua/snippets/c.lua
@@ -7,9 +7,7 @@ return {
t(""),
t("static "),
}),
- t("int "),
- t("main"),
- t("("),
+ t("int main("),
c(2, {
t("int argc, char *argv[]"),
i(1, "void"),
@@ -44,5 +42,5 @@ return {
t({ "", "{", "\t" }),
i(0),
t({ "", "}" }),
-})
+ })
}