diff --git a/chatgpt_config.yaml b/chatgpt_config.yaml index 2d2a0a8..fa20d98 100644 --- a/chatgpt_config.yaml +++ b/chatgpt_config.yaml @@ -1,8 +1,10 @@ project_name: "chatgpt.vim" default_prompt_blocks: - - "basic-prompt" + - "basic" - "secure-coding" +include_file_contents: true + debug: false improved_debug: false diff --git a/lua/chatgpt_nvim/prompts.lua b/lua/chatgpt_nvim/prompts.lua index c420d3a..6a8cc58 100644 --- a/lua/chatgpt_nvim/prompts.lua +++ b/lua/chatgpt_nvim/prompts.lua @@ -1,5 +1,5 @@ local M = { - ["solidjs-development"] = [[ + ["solidjs"] = [[ ### SolidJS Development Guidelines You are helping me develop a large SolidJS application. Please keep the following points in mind when generating or explaining code: @@ -73,7 +73,7 @@ local M = { Please follow these guidelines to ensure the generated or explained code aligns well with SolidJS best practices for large, maintainable projects. ]], - ["nodejs-development"] = [[ + ["nodejs"] = [[ You are helping me develop a large Node.js application. Please keep the following points in mind when generating or explaining code: 1. **Project & Folder Structure** @@ -161,8 +161,8 @@ local M = { - If you modify existing files, specify precisely which lines or sections have changed, and why. Please follow these guidelines to ensure the generated or explained code aligns well with Node.js best practices for large, maintainable projects. - ]] - ["go-development"] = [[ + ]], + ["go"] = [[ ### Go Development Guidelines You are helping me develop a large Go (Golang) project. Please keep the following points in mind when generating or explaining code: @@ -215,7 +215,7 @@ local M = { Please follow these guidelines to ensure the generated or explained code aligns well with Golang’s best practices for large, modular projects. ]], - ["typo3-development"] = [[ + ["typo3"] = [[ ### TYPO3 Development Guidelines You are helping me develop a large TYPO3 project. Please keep the following points in mind when generating or explaining code: @@ -280,7 +280,7 @@ local M = { Please follow these guidelines to ensure the generated or explained code aligns well with TYPO3’s best practices for large, maintainable projects. ]], - ["rust-development"] = [[ + ["rust"] = [[ ### Rust Development Guidelines You are helping me develop a large Rust project. Please keep the following points in mind when generating or explaining code: @@ -342,7 +342,7 @@ local M = { Please follow these guidelines to ensure the generated or explained code aligns well with Rust best practices for large, modular projects. ]], - ["basic-prompt"] = [[ + ["basic"] = [[ ### Basic Prompt You are assisting me in a coding workflow for a project (e.g., "my_project"). Whenever you need to inspect or modify files, or execute commands, you must provide both: