diff options
author | Squibid <me@zacharyscheiman.com> | 2024-11-19 13:40:46 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-11-19 13:40:46 -0600 |
commit | 4d2163e9e624a29f41883ab4837aa19981e4b951 (patch) | |
tree | ee4c58472b9d471116fe9b94c90ecbfc695d54dc /lua | |
parent | 200a06c960a12fdbdf35ac9d1369e0ecc5e3d30e (diff) | |
download | nvim-4d2163e9e624a29f41883ab4837aa19981e4b951.tar.gz nvim-4d2163e9e624a29f41883ab4837aa19981e4b951.tar.bz2 nvim-4d2163e9e624a29f41883ab4837aa19981e4b951.zip |
clean up C snippets
Diffstat (limited to '')
-rw-r--r-- | lua/snippets/c.lua | 6 |
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({ "", "}" }), -}) + }) } |