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

fix(tags): open tag using relative file path #75

Merged
merged 2 commits into from
Feb 11, 2024
Merged

Conversation

Subjective
Copy link
Contributor

Currently grapple opens files using their absolute path. The issue is that this creates inconsistent messages when writing to the file or hitting to display the path.

When the file is first tagged, this is the message that is shown:
image.

However, opening the file via Grapple results in the following:
image

This PR makes it so that the relative file path is used when opening a tagged file, unless the file is not within the current working directory, in which case the absolute file path is used.

@cbochs
Copy link
Owner

cbochs commented Feb 11, 2024

Thanks for the PR(s)! Sorry it's taken a while to get to them. I appreciate the numerous improvements suggested 🙂

@cbochs cbochs merged commit d1c0b57 into cbochs:main Feb 11, 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.

2 participants