Skip to content

Commit da0ce06

Browse files
committed
fix(util): validation was inverted
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
1 parent e4e97c8 commit da0ce06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/boolean-toggle/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function M.validate(T)
6767
T[name] = spec
6868
end
6969

70-
if max == 4 then
70+
if max == 3 then
7171
---@cast T table<string, BooleanToggle.ValidateSpec>
7272
vim.validate(T)
7373
return

0 commit comments

Comments
 (0)