mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fix: correct completions_raw_read_only method to yield all path completions without unnecessary filtering
This commit is contained in:
parent
c745d0dc38
commit
c35a41466b
1 changed files with 1 additions and 7 deletions
|
@ -588,13 +588,7 @@ class Commands:
|
|||
# ),
|
||||
)
|
||||
|
||||
word_before_cursor = document.get_word_before_cursor(WORD=True)
|
||||
dump(word_before_cursor)
|
||||
|
||||
for completion in path_completer.get_completions(document, complete_event):
|
||||
dump(completion)
|
||||
if completion.text.startswith(word_before_cursor):
|
||||
yield completion
|
||||
yield from path_completer.get_completions(document, complete_event)
|
||||
|
||||
def completions_add(self):
|
||||
files = set(self.coder.get_all_relative_files())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue