Skip to content

Commit 2571780

Browse files
author
Mark Sommers
committed
Fix vim.validate deprecation
1 parent 1cca23c commit 2571780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-ts-autotag/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ end
9494
---@param value any Value to compare
9595
---@return boolean `true` if `t` contains `value`
9696
M.list_contains = function(t, value)
97-
vim.validate({ t = { t, "t" } })
97+
vim.validate("t", t, "table")
9898
--- @cast t table<any,any>
9999

100100
for _, v in ipairs(t) do

0 commit comments

Comments
 (0)