Skip to content

Commit

Permalink
fix: deprecated tbl_islist (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvim-tech committed May 19, 2024
1 parent b9cf677 commit 5aa7993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/trouble/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ end

local function get_opts(...)
local args = { ... }
if vim.tbl_islist(args) and #args == 1 and type(args[1]) == "table" then
if vim.islist(args) and #args == 1 and type(args[1]) == "table" then
args = args[1]
end
local opts = {}
Expand Down

0 comments on commit 5aa7993

Please sign in to comment.