From 8012fbd998466dde1a2831173531972e8a284110 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 12 Dec 2024 15:00:23 -0600 Subject: [PATCH] plugins/lz-n: move to extraConfigLuaPre Code that can trigger lazy loading might be inserted before the trigger is defined. --- plugins/pluginmanagers/lz-n.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/pluginmanagers/lz-n.nix b/plugins/pluginmanagers/lz-n.nix index a9ea9701..c78110fe 100644 --- a/plugins/pluginmanagers/lz-n.nix +++ b/plugins/pluginmanagers/lz-n.nix @@ -11,6 +11,8 @@ nixvim.neovim-plugin.mkNeovimPlugin { name = "lz-n"; originalName = "lz.n"; maintainers = [ maintainers.psfloyd ]; + # NOTE: We want to load lz.n as early as possible so that triggers are respected + configLocation = "extraConfigLuaPre"; settingsDescription = '' Options provided to `vim.g.lz_n`.