fix(repo-map) go vendor included in repo map causing token limit error (#777)
This commit is contained in:
parent
e3df3b479f
commit
99f3b3ae00
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user