Skip to content

Commit

Permalink
feat(editing-support): Add chatGPT.nvim (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzaaft authored Jul 2, 2023
1 parent d776458 commit 023e840
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lua/astrocommunity/editing-support/chatgpt-nvim/README.md
Original file line number Diff line number Diff line change
@@ -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.
11 changes: 11 additions & 0 deletions lua/astrocommunity/editing-support/chatgpt-nvim/init.lua
Original file line number Diff line number Diff line change
@@ -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",
},
}

0 comments on commit 023e840

Please sign in to comment.