No description
Find a file
2024-12-12 18:57:35 +01:00
lua/chatgpt_nvim changes for a better approach 2024-12-12 18:57:35 +01:00
plugin changes for a better approach 2024-12-12 18:57:35 +01:00
.chatgpt_config.yaml changes for a better approach 2024-12-12 18:57:35 +01:00
README.md changes for a better approach 2024-12-12 18:57:35 +01:00

ChatGPT NeoVim Plugin (Updated for YAML)

This plugin integrates a ChatGPT O1 model workflow into Neovim. It allows you to generate prompts containing:

  • An initial prompt configured via a .chatgpt_config.yaml file in your project root.
  • A list of directories (also specified in the .chatgpt_config.yaml) from which it gathers the complete project structure and file contents.
  • The current file and the project's README.md, if present.
  • It uses YAML for configuration and also expects the ChatGPT response in YAML.

It also respects .gitignore entries, skipping those files from the prompt.

Configuration

Create a .chatgpt_config.yaml in your project root. For example:

initial_prompt: "You are a helpful coding assistant that follows instructions meticulously."
directories:
  - "lua"
  - "plugin"