mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
refactor: Improve completion matching for 'add' command
This commit is contained in:
parent
6093a4c2bb
commit
af10953534
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ class Commands:
|
|||
# Add completions from the 'add' command
|
||||
add_completions = self.completions_add()
|
||||
for completion in add_completions:
|
||||
if completion.startswith(after_command):
|
||||
if after_command in completion:
|
||||
yield Completion(
|
||||
text=completion,
|
||||
start_position=adjusted_start_position,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue