From 023e840969c08a30287c83161a883639d40bec02 Mon Sep 17 00:00:00 2001 From: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com> Date: Sun, 2 Jul 2023 23:49:46 +0200 Subject: [PATCH] feat(editing-support): Add chatGPT.nvim (#352) --- .../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", + }, +}