Skip to content

Commit 9a2f6e7

Browse files
committed
fix(deprecated): tbl_islist
1 parent e8f98cd commit 9a2f6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/luasnip-snippets/utils/treesitter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function M.make_type_matcher(types)
4444
end
4545

4646
if type(types) == "table" then
47-
if vim.tbl_islist(types) then
47+
if (vim.islist or vim.tbl_islist)(types) then
4848
local new_types = {}
4949
for _, v in ipairs(types) do
5050
new_types[v] = 1

0 commit comments

Comments
 (0)