refactor(handlers): lazy resolving of plugin handlers

This commit is contained in:
Folke Lemaitre 2023-10-16 22:12:26 +02:00
parent 2270bbbc48
commit 47dafaed64
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
8 changed files with 103 additions and 110 deletions

View file

@ -13,7 +13,8 @@ function M:add(plugin)
end
end
function M:parse(value)
---@return LazyEvent
function M:_parse(value)
return {
id = value,
event = "FileType",