mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
wip
This commit is contained in:
parent
8773a3c47d
commit
51471ca951
2 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ class Coder:
|
||||||
|
|
||||||
if self.repo is not None:
|
if self.repo is not None:
|
||||||
other_files = set(self.get_all_abs_files()) - set(self.abs_fnames)
|
other_files = set(self.get_all_abs_files()) - set(self.abs_fnames)
|
||||||
if other_files and len(other_files) < 100:
|
if other_files and len(other_files) < 1000:
|
||||||
if self.use_ctags:
|
if self.use_ctags:
|
||||||
files_listing = get_tags_map(other_files)
|
files_listing = get_tags_map(other_files)
|
||||||
ctags_msg = " with selected ctags content"
|
ctags_msg = " with selected ctags content"
|
||||||
|
|
|
@ -15,7 +15,7 @@ def get_tags_map(filenames, root_dname=None):
|
||||||
|
|
||||||
tags = []
|
tags = []
|
||||||
for filename in filenames:
|
for filename in filenames:
|
||||||
if filename.endswith(".md"):
|
if filename.endswith(".md") or filename.endswith(".json"):
|
||||||
continue
|
continue
|
||||||
tags += get_tags(filename, root_dname)
|
tags += get_tags(filename, root_dname)
|
||||||
if not tags:
|
if not tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue