This commit is contained in:
asep komarudin 2023-01-19 06:06:03 +07:00
parent 64d3a5acef
commit f7624d9bd0
2 changed files with 9 additions and 2 deletions

View file

@ -384,7 +384,9 @@ return {
{ {
"jackMort/ChatGPT.nvim", "jackMort/ChatGPT.nvim",
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim" }, dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim" },
-- init = function() lazy = true,
event = "VeryLazy",
-- opts = function()
-- require("user.chat_gpt") -- require("user.chat_gpt")
-- end, -- end,
}, },

View file

@ -1,4 +1,9 @@
require("chatgpt").setup({ local status_ok, chatgpt = pcall(require, "chatgpt")
if not status_ok then
return
end
chatgpt.setup({
welcome_message = WELCOME_MESSAGE, -- set to "" if you don't like the fancy godot robot welcome_message = WELCOME_MESSAGE, -- set to "" if you don't like the fancy godot robot
loading_text = "loading", loading_text = "loading",
question_sign = "", -- you can use emoji if you want e.g. 🙂 question_sign = "", -- you can use emoji if you want e.g. 🙂