Fix file path resolution to use GitHub root path #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #7 (testing out copilot workspace)
Implements functionality to correctly handle file paths relative to the GitHub root path in the Aider Plugin for Neovim.
get_git_root_path
inlua/aider.lua
that determines the GitHub root path usinggit rev-parse --show-toplevel
.AiderOpen
,AiderOnBufferOpen
, andAiderOnBufferClose
functions to prepend the GitHub root path to file paths before adding or managing them. This ensures that file paths are handled correctly when opened from outside the GitHub root.README.md
to include information on how the plugin now handles file paths relative to the GitHub root path, ensuring users are aware of the new functionality.For more details, open the Copilot Workspace session.