mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
reorg scm files
This commit is contained in:
parent
5d1f50117b
commit
e3d5eaf388
21 changed files with 2 additions and 2 deletions
|
@ -739,7 +739,7 @@ def get_scm_fname(lang):
|
||||||
path = resources.files(__package__).joinpath(
|
path = resources.files(__package__).joinpath(
|
||||||
"queries",
|
"queries",
|
||||||
subdir,
|
subdir,
|
||||||
f"tree-sitter-{lang}-tags.scm",
|
f"{lang}-tags.scm",
|
||||||
)
|
)
|
||||||
if path.exists():
|
if path.exists():
|
||||||
return path
|
return path
|
||||||
|
@ -752,7 +752,7 @@ def get_scm_fname(lang):
|
||||||
return resources.files(__package__).joinpath(
|
return resources.files(__package__).joinpath(
|
||||||
"queries",
|
"queries",
|
||||||
subdir,
|
subdir,
|
||||||
f"tree-sitter-{lang}-tags.scm",
|
f"{lang}-tags.scm",
|
||||||
)
|
)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue