registering a filetype lazy load condition should happen on self not the...

lazy_loader
This commit is contained in:
2025-07-02 21:51:34 -04:00
parent cfc3f08d53
commit 542298c1fe

View File

@ -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