Skip to content

Commit

Permalink
refactor(nvim): keep win config simple
Browse files Browse the repository at this point in the history
  • Loading branch information
spywhere committed Oct 25, 2024
1 parent 9c7e125 commit c6e6971
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions configs/nvim/lua/gpt/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c6e6971

Please sign in to comment.