From 4d2163e9e624a29f41883ab4837aa19981e4b951 Mon Sep 17 00:00:00 2001 From: Squibid Date: Tue, 19 Nov 2024 13:40:46 -0600 Subject: clean up C snippets --- lua/snippets/c.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lua') 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({ "", "}" }), -}) + }) } -- cgit v1.2.1