From 77f5dd9693576af7fde80bdc99700f21eff01d6b Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Wed, 9 Feb 2022 17:53:48 +0100 Subject: WIP moving to all lua and new structure --- after/plugin/luasnip.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 after/plugin/luasnip.lua (limited to 'after/plugin/luasnip.lua') diff --git a/after/plugin/luasnip.lua b/after/plugin/luasnip.lua new file mode 100644 index 0000000..9a1c3db --- /dev/null +++ b/after/plugin/luasnip.lua @@ -0,0 +1,7 @@ +if vim.g.snippets ~= "luasnip" then + return +end + + +-- shorcut to source my luasnips file again, which will reload my snippets +vim.keymap.set("n", "s", "source ~/.config/nvim/after/plugin/luasnip.lua") -- cgit v1.2.3