From 542298c1fe8176a121d82591b8244abd02634731 Mon Sep 17 00:00:00 2001 From: Squibid Date: Wed, 2 Jul 2025 21:51:34 -0400 Subject: [PATCH] registering a filetype lazy load condition should happen on self not the... lazy_loader --- lua/dep/lazy/loader/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/dep/lazy/loader/init.lua b/lua/dep/lazy/loader/init.lua index 5918ef9..1ae3c18 100644 --- a/lua/dep/lazy/loader/init.lua +++ b/lua/dep/lazy/loader/init.lua @@ -71,7 +71,7 @@ end --- create an auto command which will trigger on filetype ---@param filetype string filetype to register the auto on function lazy_loader:ft(filetype) - lazy_loader:auto("FileType", { + self:auto("FileType", { pattern = filetype }) end