mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
Added ctags --extras=-F to avoid mapping file-private symbols
This commit is contained in:
parent
8a528b655d
commit
c239b7f49c
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def get_tags(filename, root_dname):
|
|||
if cache_key in TAGS_CACHE and TAGS_CACHE[cache_key]["mtime"] == file_mtime:
|
||||
return TAGS_CACHE[cache_key]["tags"]
|
||||
|
||||
cmd = ["ctags", "--fields=+S", "--output-format=json", filename]
|
||||
cmd = ["ctags", "--fields=+S", "--extras=-F", "--output-format=json", filename]
|
||||
output = subprocess.check_output(cmd).decode("utf-8")
|
||||
output = output.splitlines()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue