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

This commit is contained in:
Christian Clason
2024-05-17 14:39:12 +02:00
committed by GitHub
parent 96610122a4
commit bbdbb7593f
10 changed files with 34 additions and 17 deletions

View File

@@ -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