feat: dont include chatgpt_config.yaml in file list

This commit is contained in:
2025-02-13 11:54:27 +01:00
parent 1deae056b7
commit a5bad60d8e
2 changed files with 14 additions and 10 deletions

View File

@@ -148,7 +148,9 @@ function M.get_project_files(directories, conf)
local rel_files = {}
for _, f in ipairs(all_files) do
local rel = vim.fn.fnamemodify(f, ":.")
table.insert(rel_files, rel)
if not rel:match("^%.?chatgpt_config%.yaml$") then
table.insert(rel_files, rel)
end
end
if conf.debug then