mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat(spec): event, keys, ft and cmd can now also be a function that returns the values to be used
This commit is contained in:
parent
bcd87a0215
commit
2128ca90fb
6 changed files with 76 additions and 75 deletions
|
@ -262,7 +262,6 @@ describe("plugin spec opt", function()
|
|||
}
|
||||
for test, ret in pairs(tests) do
|
||||
local spec = Plugin.Spec.new(test)
|
||||
spec:fix_disabled()
|
||||
assert(#spec.notifs == 0)
|
||||
if ret then
|
||||
assert(spec.plugins.bar)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue