diff --git a/configs/nvim/lua/gpt/init.lua b/configs/nvim/lua/gpt/init.lua index 9da67ca..0e3f6d2 100644 --- a/configs/nvim/lua/gpt/init.lua +++ b/configs/nvim/lua/gpt/init.lua @@ -137,9 +137,7 @@ M.create = function (options) vim.bo[P.bufid].bufhidden = 'wipe' vim.bo[P.bufid].modifiable = true vim.api.nvim_buf_call(P.bufid, function () - vim.fn.termopen(cmd, { - cwd = vim.fn.getcwd(-1, -1), - }) + vim.fn.termopen(cmd, {}) end) P.add_event_listener(opts)