-
Notifications
You must be signed in to change notification settings - Fork 86
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
--color=always in .ripgreprc overrides --color=never in vim-clap #609
Comments
Thanks for the report, should be resolved in the latest commit. BTW, it's recommended to use |
Thanks for the suggestion and the super fast fix 🙇 Two quick questions:
i scanned the help docs and didn't see answers to these questions, but let me know if i missed something and need to RTFM 😅 |
|
Got it, thanks for the explanation 🙇 |
Environment (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
Clap debug
To Reproduce
Steps to reproduce the behavior:
create a
.ripgreprc
with--color=always
export
RIPGREP_CONFIG_PATH=<location of .ripgreprc>
Create the minimal vimrc
min.vim
:Start (neo)vim with command:
vim -u min.vim
Type
:Clap grep
and enter a few arbitrary characterSee something akin to:
Expected behavior
I see references to
--color=never
in some of the rust code and my expectation would be thatvim-clap
would disable/override any problematic options when invokingrg
internally. The problem goes away if color != always in the.ripgreprc
. Also note that passing--color=never
on the command line overrides the.ripgreprc
setting as intended.Screenshots
See above.
Additional context
The text was updated successfully, but these errors were encountered: