Skip to content

Commit 7c81dc5

Browse files
phanenibhagwan
authored andcommitted
chore: table.move don't exist in puc-lua
1 parent cb6ef02 commit 7c81dc5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/fzf-lua/libuv.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ M.spawn = function(opts, fn_transform, fn_done)
109109
local args = _is_win and { "/d", "/e:off", "/f:off", "/v:on", "/c" } or { "-c" }
110110
if type(opts.cmd) == "table" then
111111
if _is_win then
112-
---@diagnostic disable-next-line: deprecated
113-
table.move(opts.cmd, 1, #opts.cmd, #args + 1, args)
112+
vim.list_extend(args, opts.cmd)
114113
else
115114
table.insert(args, table.concat(opts.cmd, " "))
116115
end

0 commit comments

Comments
 (0)