Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goto_file_impl: use relative path to open file #7965

Merged

Conversation

michaelBelsanti
Copy link
Contributor

Changed the function to join the selected path with the parent of the document. It will use the working directory if doc.relative_path() returns None.

pascalkuthe
pascalkuthe previously approved these changes Aug 16, 2023
@michaelBelsanti
Copy link
Contributor Author

Fixes #1701

@the-mikedavis the-mikedavis merged commit 0cc94cd into helix-editor:master Aug 21, 2023
6 checks passed
@michaelBelsanti michaelBelsanti deleted the relative_goto_file branch August 29, 2023 02:11
dgkf pushed a commit to dgkf/helix that referenced this pull request Jan 30, 2024
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

goto_file_impl doesn't seem to use path relative to current working directory
3 participants