From 9c7e12594bb213e37aa142e89ce93b18fd9b9e62 Mon Sep 17 00:00:00 2001 From: Sirisak Lueangsaksri <1087399+spywhere@users.noreply.github.com> Date: Fri, 25 Oct 2024 23:49:05 +0700 Subject: [PATCH] refactor(nvim): keep gpt name as a generic one --- configs/nvim/lua/gpt/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/nvim/lua/gpt/init.lua b/configs/nvim/lua/gpt/init.lua index 787dfa1..9da67ca 100644 --- a/configs/nvim/lua/gpt/init.lua +++ b/configs/nvim/lua/gpt/init.lua @@ -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'