feat!: lazy now handles the full startup sequence (vim.go.loadplugins=false)

This commit is contained in:
Folke Lemaitre 2022-12-14 21:03:53 +01:00
parent ad0b4caa64
commit ec2f432a84
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 89 additions and 49 deletions

View file

@ -13,7 +13,7 @@ end
---@param plugin LazyPlugin
---@param value string
function M:_add(plugin, value)
Loader.ftdetect(plugin)
Loader.ftdetect(plugin.dir)
Event._add(self, plugin, value)
end