feat(keys): refactor code and allow disabling keymaps per mode. mode no longer needs to be exactly the same in order to disable.

This commit is contained in:
Folke Lemaitre 2023-10-08 10:11:25 +02:00
parent 62745a7320
commit b79099cc9d
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 68 additions and 35 deletions

View file

@ -32,7 +32,7 @@
---@field event? string[]
---@field cmd? string[]
---@field ft? string[]
---@field keys? (string|LazyKeys)[]
---@field keys? (string|LazyKeysSpec)[]
---@field module? false
---@class LazyPluginRef