fix: adapt to Nvim deprecations in 0.10 (#3109)

(cherry picked from commit bbdbb7593f)
This commit is contained in:
Christian Clason
2024-05-20 11:48:33 +02:00
committed by Simon Hauser
parent 3a5d17d9d0
commit dd4acbd6fa
10 changed files with 32 additions and 16 deletions
@@ -4,7 +4,7 @@ local make_entry = require "telescope.make_entry"
return function(opts)
local input_results
if vim.tbl_islist(opts) then
if require("telescope.utils").islist(opts) then
input_results = opts
else
input_results = opts.results