diff --git a/lua/custom/snippets/all.lua b/lua/custom/snippets/all.lua new file mode 100644 index 0000000..67e625c --- /dev/null +++ b/lua/custom/snippets/all.lua @@ -0,0 +1,11 @@ +local ls = require "luasnip" +local s = ls.snippet +local f = ls.function_node + +ls.add_snippets("all", { + s("icd", { + f(function() + return os.date("%Y-%m-%d") + end) + }) +})