From e7bc62604420331553949f87f9519134adb60d3d Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 23 Jan 2025 18:48:59 -0600 Subject: [PATCH] persistence: lazy load enable --- modules/nixvim/plugins/persistence/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/nixvim/plugins/persistence/default.nix b/modules/nixvim/plugins/persistence/default.nix index b784eee..3a2ecaa 100644 --- a/modules/nixvim/plugins/persistence/default.nix +++ b/modules/nixvim/plugins/persistence/default.nix @@ -3,6 +3,8 @@ plugins = { persistence = { enable = true; + + lazyLoad.settings.event = "BufReadPre"; }; which-key.settings.spec = lib.optionals config.plugins.persistence.enable [