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

Don't make binaryDirExpanded relative #276

Merged
merged 1 commit into from
Dec 23, 2024
Merged

Conversation

Osse
Copy link
Contributor

@Osse Osse commented Nov 22, 2024

It's made relative to nvim's cwd, not config.cwd and furthermore there is no point in making it relative in the first place.

It's made relative to nvim's cwd, not config.cwd and furthermore there
is no point in making it relative in the first place.
@Civitasv
Copy link
Owner

@lceWolf Can you review this?

@lceWolf
Copy link
Collaborator

lceWolf commented Dec 23, 2024

I think it is fine to omit making it relative. If an absolute path is given, it should be used as is. Only if the binaryDir is given as relative it should be treated relative to the source dir. Transforming the absolute path into a relative one and concatenating this with config.cwd is wrong indeed.

@lceWolf lceWolf merged commit 4e134ed into Civitasv:master Dec 23, 2024
2 checks passed
@lceWolf
Copy link
Collaborator

lceWolf commented Dec 23, 2024

Thanks for fixing that - good catch :)

@Osse Osse deleted the dont-relativize branch December 30, 2024 08:41
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.

3 participants