From 1b539b95c2e51399a9fcf8645ed2dada63820ced Mon Sep 17 00:00:00 2001 From: Uzair Aftab Date: Sun, 2 Jul 2023 23:11:20 +0200 Subject: [PATCH] feat(editing-support): Add chatGPT.nvim --- .../editing-support/chatgpt-nvim/README.md | 9 +++++++++ .../editing-support/chatgpt-nvim/init.lua | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 lua/astrocommunity/editing-support/chatgpt-nvim/README.md create mode 100644 lua/astrocommunity/editing-support/chatgpt-nvim/init.lua diff --git a/lua/astrocommunity/editing-support/chatgpt-nvim/README.md b/lua/astrocommunity/editing-support/chatgpt-nvim/README.md new file mode 100644 index 000000000..ba51a579f --- /dev/null +++ b/lua/astrocommunity/editing-support/chatgpt-nvim/README.md @@ -0,0 +1,9 @@ +# chatGPT.nvim + +Plugin that enables you to interact with chat-GPT, straight from neovim. + +**Repository:** https://github.com/jackMort/ChatGPT.nvim + +Before enabling it, set environment variable called $OPENAI_API_KEY which you can obtain here: https://platform.openai.com/account/api-keys + +ChatGPT is a Neovim plugin that allows you to effortlessly utilize the OpenAI ChatGPT API, empowering you to generate natural language responses from OpenAI's ChatGPT directly within the editor in response to your inquiries. diff --git a/lua/astrocommunity/editing-support/chatgpt-nvim/init.lua b/lua/astrocommunity/editing-support/chatgpt-nvim/init.lua new file mode 100644 index 000000000..de292954e --- /dev/null +++ b/lua/astrocommunity/editing-support/chatgpt-nvim/init.lua @@ -0,0 +1,11 @@ +return { + "jackMort/ChatGPT.nvim", + init = function() table.insert(astronvim.file_plugins, "ChatGPT.nvim") end, + enabled = true, + event = "VeryLazy", + depencencies = { + "MunifTanjim/nui.nvim", + "nvim-lua/plenary.nvim", + "nvim-telescope/telescope.nvim", + }, +}