From 36c316b53476fff406db292a54f3c88b07b4b944 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 26 Aug 2024 11:07:42 +0200 Subject: nvim: add lua snippets A year later... https://git.yigitsever.com/personal/dotfiles/commit/.config/nvim/my_snippets?id=387e08c52d9752bc839c71119f140ba8435c3d70 --- .config/nvim/lua/plugins/cmp.lua | 1 + 1 file changed, 1 insertion(+) (limited to '.config/nvim/lua/plugins') diff --git a/.config/nvim/lua/plugins/cmp.lua b/.config/nvim/lua/plugins/cmp.lua index 884e778..8e34264 100644 --- a/.config/nvim/lua/plugins/cmp.lua +++ b/.config/nvim/lua/plugins/cmp.lua @@ -176,6 +176,7 @@ return { -- To enable auto expansion enable_autosnippets = true, }) + require("luasnip.loaders.from_lua").lazy_load({ paths = "./lua/luasnippets" }) end }, -- cgit v1.2.3-70-g09d2