mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
fix: Remove commented-out code in PathCompleter configuration
This commit is contained in:
parent
7e1497e114
commit
369310a7c3
1 changed files with 2 additions and 1 deletions
|
@ -584,6 +584,7 @@ class Commands:
|
||||||
|
|
||||||
# Get the text before the cursor and strip leading spaces
|
# Get the text before the cursor and strip leading spaces
|
||||||
text = document.text_before_cursor.lstrip()
|
text = document.text_before_cursor.lstrip()
|
||||||
|
dump(text)
|
||||||
|
|
||||||
# Identify the command and extract text after it
|
# Identify the command and extract text after it
|
||||||
command = "/read-only"
|
command = "/read-only"
|
||||||
|
@ -598,7 +599,7 @@ class Commands:
|
||||||
path_completer = PathCompleter(
|
path_completer = PathCompleter(
|
||||||
only_directories=False,
|
only_directories=False,
|
||||||
expanduser=True,
|
expanduser=True,
|
||||||
get_paths=[self.coder.root],
|
#get_paths=[self.coder.root],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Use the new document for completions
|
# Use the new document for completions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue