-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add ripgrep support #16
Conversation
Thanks, this looks good! I would certainly appreciate help with |
Trying to get Here's one result coming from
Now here's one coming from ag:
They're very similar, but there's a subtle difference -- the lines that match (as opposed to being "context" lines from the The reason this is a problem is because the plugin tries to figure out what the delimiter is so it could validate whether the "filename" and "line number" that are parsed are actually valid filename + line number. This is to work around the issue of the filename having numbers and dashes in it (#15). It's an annoying problem and one that makes me think I need a separate backend setup for Anyway, I guess what I'd have to do is replace the writable_search.vim/autoload/writable_search/file_parser.vim Lines 17 to 70 in ae34560
If you'd like to try your hand with it, I'd certainly appreciate it! I think it will be kind of annoying to do, though. I'll write it down as a todo for myself for later, but let me know what you think. |
Hm, I was more worried if the It is a bit tricky to dive into this as I am not 100% in it So If I find something strange with the plugin I will let you know |
This PR adds support for
ripgrep
search toolI haven't covered the
ag
edge case that is mentioned in the README but I am happy to do that if I have more details