Skip to content

Commit

Permalink
fix(repo-map) go vendor included in repo map causing token limit error (
Browse files Browse the repository at this point in the history
  • Loading branch information
brewinski authored Nov 3, 2024
1 parent e3df3b4 commit 99f3b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/avante/utils/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ local function pattern_to_lua(pattern)
end

function M.parse_gitignore(gitignore_path)
local ignore_patterns = { "%.git", "%.worktree", "__pycache__", "node_modules" }
local ignore_patterns = { "%.git", "%.worktree", "__pycache__", "node_modules", "vendor" }
local negate_patterns = {}
local file = io.open(gitignore_path, "r")
if not file then return ignore_patterns, negate_patterns end
Expand Down

0 comments on commit 99f3b3a

Please sign in to comment.