diff --git a/modules/plugins/snippets/luasnip/config.nix b/modules/plugins/snippets/luasnip/config.nix index 0f887e5f..a3767aa7 100644 --- a/modules/plugins/snippets/luasnip/config.nix +++ b/modules/plugins/snippets/luasnip/config.nix @@ -11,10 +11,13 @@ in { vim = { lazy.plugins.luasnip = { package = "luasnip"; + lazy = true; - after = cfg.loaders; + setupModule = "luasnip"; inherit (cfg) setupOpts; + + after = cfg.loaders; }; startPlugins = cfg.providers; autocomplete.nvim-cmp = {