From 32c4b9949836c22c351d66cc700a296be95843c3 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Wed, 3 Apr 2024 16:07:25 -0400 Subject: [PATCH] nvim: snippet-making snippet --- src/.config/nvim/snippets/lua.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/.config/nvim/snippets/lua.lua diff --git a/src/.config/nvim/snippets/lua.lua b/src/.config/nvim/snippets/lua.lua new file mode 100644 index 0000000..28c969d --- /dev/null +++ b/src/.config/nvim/snippets/lua.lua @@ -0,0 +1,5 @@ +return { + s({ trig = "snip", desc = "meta snippet (snippet for making snippets)" }, fmt([[ + s({{trig="{}", desc="{}"}}, {}), + ]], { i(1, "trigger"), i(2, "human-readable description"), i(3, "") })) +}