We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8f98cd commit 9a2f6e7Copy full SHA for 9a2f6e7
lua/luasnip-snippets/utils/treesitter.lua
@@ -44,7 +44,7 @@ function M.make_type_matcher(types)
44
end
45
46
if type(types) == "table" then
47
- if vim.tbl_islist(types) then
+ if (vim.islist or vim.tbl_islist)(types) then
48
local new_types = {}
49
for _, v in ipairs(types) do
50
new_types[v] = 1
0 commit comments