From 7fb8671840181ca5166fcf7b8a8d5f5e10a5efa7 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Fri, 14 Feb 2025 19:18:51 +0100 Subject: [PATCH] fix: add ignore_files to config --- lua/chatgpt_nvim/config.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/chatgpt_nvim/config.lua b/lua/chatgpt_nvim/config.lua index 2634478..7941bad 100644 --- a/lua/chatgpt_nvim/config.lua +++ b/lua/chatgpt_nvim/config.lua @@ -109,7 +109,6 @@ function M.load() if type(result.default_prompt_blocks) == "table" then config.default_prompt_blocks = result.default_prompt_blocks end - -- Removed prompt_char_limit handling if type(result.project_name) == "string" then config.project_name = result.project_name end @@ -122,6 +121,9 @@ function M.load() if type(result.include_file_contents) == "boolean" then config.include_file_contents = result.include_file_contents end + if type(result.ignore_files) == "table" then + config.ignore_files = result.ignore_files + end if type(result.preview_changes) == "boolean" then config.preview_changes = result.preview_changes end