feat(event): added support for structured events (see readme on event)

This commit is contained in:
Folke Lemaitre 2023-10-11 14:24:18 +02:00
commit 303a3ed6a8
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 82 additions and 61 deletions

View file

@ -29,7 +29,7 @@
---@field opts? PluginOpts
---@class LazyPluginHandlers
---@field event? string[]
---@field event? LazyEventSpec[]
---@field cmd? string[]
---@field ft? string[]
---@field keys? (string|LazyKeysSpec)[]