mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 19:24:59 +00:00
Do general autocomplete if /cmd doesn't have its own
This commit is contained in:
parent
5d0ba54e07
commit
1677f7ede8
2 changed files with 26 additions and 15 deletions
|
@ -148,7 +148,7 @@ class Commands:
|
|||
|
||||
fun = getattr(self, f"completions_{cmd}", None)
|
||||
if not fun:
|
||||
return []
|
||||
return
|
||||
return sorted(fun())
|
||||
|
||||
def get_commands(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue