From 8b586e01a04978be43f51825ca353cd2c86e7d65 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Mon, 15 Dec 2025 18:44:32 -0300 Subject: [PATCH] fix(plugins): lazy trigger for git repositories --- lua/dot/plugins.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/dot/plugins.lua b/lua/dot/plugins.lua index fd65a1d..e3c46c5 100644 --- a/lua/dot/plugins.lua +++ b/lua/dot/plugins.lua @@ -162,7 +162,7 @@ lze.load({ "SessionSearch", "Auutosession", }, - lazy = not (#(vim.fs.root(0, ".git") or 0) > 0), + lazy = not (#(vim.fs.root(0, ".git") or {}) > 0), }, -- Secrets hiding @@ -232,7 +232,7 @@ lze.load({ desc = "[Git] Toggle line blame", }, }, - lazy = not (#vim.fs.root(0, ".git") > 0), + lazy = not (#(vim.fs.root(0, ".git") or {}) > 0), }, -- Todo comments