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

Make extra arguments customizable #138

Merged
merged 1 commit into from
Sep 9, 2023

Conversation

gvol
Copy link

@gvol gvol commented Aug 16, 2023

This allows users to (easily) solve many of their own problems. For example, I have lots of types in my ~/.ripgreprc that I don't want to repeat in Emacs, so --no-config is very bad for me. This should also solve #24, #110, and probably others that I have missed.

@Wilfred
Copy link
Owner

Wilfred commented Aug 16, 2023

Most of these arguments are important for how deadgrep parses the output from rg. How about defining a customisable deadgrep-extra-arguments variable that only includes --no-config by default?

Many are required for deadgrep to be able to parse output, but others
can be customized.
@gvol
Copy link
Author

gvol commented Aug 16, 2023

Yeah, that's a better idea. :)

@gvol
Copy link
Author

gvol commented Aug 16, 2023

BTW, this has an ordering dependency with #93 (which I would love to get merged as well). Let me know which of them you would like to merge first and I can update the other with the appropriate changes (to tests).

@gvol gvol changed the title Make default arguments customizable Make extra arguments customizable Aug 18, 2023
@gvol
Copy link
Author

gvol commented Sep 9, 2023

Any thoughts on this and/or #93 @Wilfred?

@Wilfred Wilfred merged commit 60e48d3 into Wilfred:master Sep 9, 2023
5 checks passed
@Wilfred
Copy link
Owner

Wilfred commented Sep 9, 2023

This looks good, merging :)

@gvol gvol deleted the customizable-arguments branch September 10, 2023 03:48
@gvol
Copy link
Author

gvol commented Sep 10, 2023

This looks good, merging :)

Great, thanks!

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