From 9385589aeb20aa9c01a21bd94ac4922bfd942570 Mon Sep 17 00:00:00 2001 From: antoine Date: Sun, 19 Apr 2026 10:14:19 +0200 Subject: [PATCH] fix: remove dashboard startup section (no lazy.nvim) --- plugins/options.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/options.nix b/plugins/options.nix index 3365419..a5b1aa3 100644 --- a/plugins/options.nix +++ b/plugins/options.nix @@ -12,6 +12,13 @@ registers = "unnamedplus"; }; + luaConfigRC.lazy-stats-shim = lib.nvim.dag.entryAfter ["globalsScript"] '' + -- Shim lazy.stats so snacks dashboard doesn't error without lazy.nvim + package.loaded["lazy.stats"] = { + stats = function() return { startuptime = 0, count = 0, loaded = 0 } end + } + ''; + luaConfigRC.options = lib.nvim.dag.entryAfter ["globalsScript"] '' vim.opt.tabstop = 2 vim.opt.shiftwidth = 2