icmp and snip rice

This commit is contained in:
iofq 2024-08-08 01:19:53 -05:00
parent 62b7e838d9
commit 2a6ff7e85a
5 changed files with 126 additions and 27 deletions

3
config/lua/snippets.lua Normal file
View file

@ -0,0 +1,3 @@
ls.add_snippets("go", {
s("ie", fmta("if err != nil {\n\treturn <err>\n}", { err = i(1, "err") })),
})