From c59f8922b298d471b561a49573f739dd9529b1f6 Mon Sep 17 00:00:00 2001 From: LilleAila <67327023+LilleAila@users.noreply.github.com> Date: Sun, 12 Jan 2025 11:39:41 +0100 Subject: [PATCH] snippets/luasnip: add whitespace, organize options Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com> --- modules/plugins/snippets/luasnip/config.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 = {