summaryrefslogtreecommitdiff
path: root/lua/99/providers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/99/providers.lua')
-rw-r--r--lua/99/providers.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/lua/99/providers.lua b/lua/99/providers.lua
index 1ea9cda..7df0174 100644
--- a/lua/99/providers.lua
+++ b/lua/99/providers.lua
@@ -73,9 +73,7 @@ function BaseProvider:make_request(query, context, observer)
local command = self:_build_command(query, context)
local extra_args = context._99 and context._99.provider_extra_args or {}
if #extra_args > 0 then
- local query_arg = table.remove(command)
vim.list_extend(command, extra_args)
- table.insert(command, query_arg)
end
logger:debug("make_request", "command", command)