Skip to content

Conversation

@idbrii
Copy link

@idbrii idbrii commented Dec 29, 2020

Instead of hardcoding the install directory, use CallerFilePath to detect it. Instead of requiring a specific location for rg, allow it to be in the PATH. This gives users a lot more freedom for how to install this plugin.

Use CallerFilePath to fetch the install directory for the ignore file.
If rg isn't in the assumed location, assume it's in the PATH.
Everything should continue working as before, but people who have it in
their PATH don't need to install it in each of their Unity projects.

Add instructions when ripgrep cannot be found.
@idbrii idbrii mentioned this pull request Jan 30, 2021
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.

1 participant