Robitx / gp.nvim

Gp.nvim (GPT prompt) Neovim AI plugin: ChatGPT sessions & Instructable text/code operations & Speech to text [OpenAI]
MIT License
537 stars 50 forks source link

Add documentation #72

Closed tarruda closed 7 months ago

tarruda commented 7 months ago

Hi

This is a very nice plugin, probably the best LLM integration I've seen so far.

One thing that it is currently missing is documentation, so I asked GPT-4 Turbo to generate it. The promt was:

This is the code for a Neovim Lua plugin. Please generate a Vim documentation for the plugin (should be a text file in the format expected by vim):

(then pasted the code for init.lua)

This is what it generated. Not sure if it is very accurate, but maybe we can use as a starting point (feel free to push changes to this PR).