Skip to content

Commit

Permalink
refactor(nvim): keep gpt name as a generic one
Browse files Browse the repository at this point in the history
  • Loading branch information
spywhere committed Oct 25, 2024
1 parent 73735cd commit 9c7e125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/nvim/lua/gpt/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ P.layout = function (opts, winid)
winopts.height = to_int(opts.height or 0.9, vim.o.lines)
winopts.col = math.floor(vim.o.columns / 2 - winopts.width / 2)
winopts.row = math.floor(vim.o.lines / 2 - winopts.height / 2)
local title = opts.context and string.format('ChatGPT [%s]', opts.context) or 'ChatGPT'
local title = opts.context and string.format('CLIGPT [%s]', opts.context) or 'CLIGPT'
winopts.title = string.format(' %s ', title)
winopts.title_pos = 'center'
winopts.border = 'rounded'
Expand Down

0 comments on commit 9c7e125

Please sign in to comment.