From e7cfbb5d1f0b9e4ce9a13b688e8a9b9d7ca49a55 Mon Sep 17 00:00:00 2001 From: James Trew <66286082+jamestrew@users.noreply.github.com> Date: Tue, 19 Sep 2023 19:43:18 -0400 Subject: [PATCH] fix(git): `tbl_isarray` compat with nvim 0.9 (#2710) --- lua/telescope/builtin/__git.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telescope/builtin/__git.lua b/lua/telescope/builtin/__git.lua index 1478dc2..a50434f 100644 --- a/lua/telescope/builtin/__git.lua +++ b/lua/telescope/builtin/__git.lua @@ -428,7 +428,7 @@ end local try_worktrees = function(opts) local worktrees = conf.git_worktrees - if vim.tbl_isarray(worktrees) then + if vim.tbl_islist(worktrees) then for _, wt in ipairs(worktrees) do if vim.startswith(opts.cwd, wt.toplevel) then opts.toplevel = wt.toplevel