Files
chatgpt.vim/README.md

21 lines
851 B
Markdown

<!-- README.md -->
# 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:
```yaml
initial_prompt: "You are a helpful coding assistant that follows instructions meticulously."
directories:
- "lua"
- "plugin"